	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_objhash_bitmap_alloc      ## -- Begin function ipfw_objhash_bitmap_alloc
	.p2align	4, 0x90
_ipfw_objhash_bitmap_alloc:             ## @ipfw_objhash_bitmap_alloc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_BLOCK_ITEMS@GOTPCREL(%rip), %r12
	movslq	(%r12), %rsi
	movl	%edi, %eax
	cltd
	idivl	%esi
	xorl	%edi, %edi
	testl	%edx, %edx
	sete	%dil
	callq	_KASSERT
	movl	%ebx, %eax
	cltd
	idivl	(%r12)
	movl	%eax, %r12d
	leal	7(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	sarl	$3, %eax
	movslq	%eax, %r13
	movq	_IPFW_MAX_SETS@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	imulq	%r13, %rdi
	movq	_M_IPFW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	%rax, %rbx
	imulq	(%r14), %r13
	movq	%rax, %rdi
	movl	$255, %esi
	movq	%r13, %rdx
	callq	_memset
	andb	$-2, (%rbx)
	movq	%rbx, (%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_ITEMS,4,2                ## @BLOCK_ITEMS
	.comm	_IPFW_MAX_SETS,8,3              ## @IPFW_MAX_SETS
	.comm	_M_IPFW,4,2                     ## @M_IPFW
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_objhash_bitmap_alloc      ; -- Begin function ipfw_objhash_bitmap_alloc
	.p2align	2
_ipfw_objhash_bitmap_alloc:             ; @ipfw_objhash_bitmap_alloc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _BLOCK_ITEMS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BLOCK_ITEMS@GOTPAGEOFF]
	ldrsw	x1, [x22]
	sdiv	w8, w0, w1
	msub	w8, w8, w1, w0
	cmp	w8, #0
	cset	w0, eq
	bl	_KASSERT
	ldr	w8, [x22]
	add	w9, w21, #7
	sdiv	w22, w21, w8
	cmp	w21, #0
	csel	w8, w9, w21, lt
	sbfx	x23, x8, #3, #29
Lloh2:
	adrp	x24, _IPFW_MAX_SETS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IPFW_MAX_SETS@GOTPAGEOFF]
	ldr	x8, [x24]
	mul	x0, x8, x23
Lloh4:
	adrp	x8, _M_IPFW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _M_IPFW@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_malloc
	mov	x21, x0
	ldr	x8, [x24]
	mul	x2, x8, x23
	mov	w1, #255
	bl	_memset
	ldr	w8, [x21]
	and	w8, w8, #0xfffffffe
	str	w8, [x21]
	str	x21, [x20]
	str	w22, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_ITEMS,4,2                ; @BLOCK_ITEMS
	.comm	_IPFW_MAX_SETS,8,3              ; @IPFW_MAX_SETS
	.comm	_M_IPFW,4,2                     ; @M_IPFW
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
.subsections_via_symbols
