	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgbi_tagmask_set              ## -- Begin function cxgbi_tagmask_set
	.p2align	4, 0x90
_cxgbi_tagmask_set:                     ## @cxgbi_tagmask_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	callq	_fls
	movq	_PPOD_IDX_MAX_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %eax
	cmovbl	%eax, %ebx
	movq	_PPOD_IDX_SHIFT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	addl	%ebx, %ecx
	movl	$1, %r15d
	movl	$1, %r8d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r8d
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_pr_info
	addl	(%r12), %ebx
	movl	%ebx, %ecx
	shll	%cl, %r15d
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPOD_IDX_MAX_SIZE,4,2          ## @PPOD_IDX_MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ippm: ppmax %u/0x%x -> bits %u, tagmask 0x%x.\n"

	.comm	_PPOD_IDX_SHIFT,4,2             ## @PPOD_IDX_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgbi_tagmask_set              ; -- Begin function cxgbi_tagmask_set
	.p2align	2
_cxgbi_tagmask_set:                     ; @cxgbi_tagmask_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_fls
Lloh0:
	adrp	x8, _PPOD_IDX_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPOD_IDX_MAX_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w20, w0, w8, lo
Lloh3:
	adrp	x21, _PPOD_IDX_SHIFT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PPOD_IDX_SHIFT@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w8, w20, w8
	mov	w22, #1
	lsl	w4, w22, w8
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x19
	mov	x3, x20
	bl	_pr_info
	ldr	w8, [x21]
	add	w8, w8, w20
	lsl	w0, w22, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PPOD_IDX_MAX_SIZE,4,2          ; @PPOD_IDX_MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ippm: ppmax %u/0x%x -> bits %u, tagmask 0x%x.\n"

	.comm	_PPOD_IDX_SHIFT,4,2             ; @PPOD_IDX_SHIFT
.subsections_via_symbols
