	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipq_reuse
_ipq_reuse:                             ## @ipq_reuse
	.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
	movl	%edi, %r14d
	callq	_IPQ_LOCK_ASSERT
	movq	_IPREASS_NHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	movq	_IPREASS_NHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %r13d
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r13), %eax
	cltd
	idivl	%ecx
	movl	%edx, %r15d
	cmpl	%r14d, %edx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_IPQ_TRYLOCK
	testq	%rax, %rax
	je	LBB0_12
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_V_ipq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %r12
	leaq	(%rax,%r12,8), %rdi
	addq	$4, %rdi
	movq	_ipqhead@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TAILQ_LAST
	testq	%rax, %rax
	jne	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r14d, %r15d
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_IPQ_UNLOCK
	jmp	LBB0_12
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%r14d, %edi
	callq	_IPQ_LOCK_ASSERT
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rax, %rbx
	movq	_ips_fragtimeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_IPSTAT_ADD
	movl	8(%rbx), %esi
	movq	_nfrags@GOTPCREL(%rip), %rdi
	callq	_atomic_subtract_int
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rdi), %rax
	movq	%rax, (%rbx)
	callq	_m_freem
	jmp	LBB0_7
LBB0_8:
	movq	_V_ipq@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	leaq	(%rax,%r12,8), %rdi
	addq	$4, %rdi
	movq	_ipq_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	(%r13), %rax
	decl	(%rax,%r12,8)
	cmpl	%r14d, %r15d
	je	LBB0_14
## %bb.9:
	movl	%r15d, %edi
	callq	_IPQ_UNLOCK
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_IPREASS_NHASH,4,2              ## @IPREASS_NHASH
	.comm	_V_ipq,8,3                      ## @V_ipq
	.comm	_ipqhead,4,2                    ## @ipqhead
	.comm	_ips_fragtimeout,4,2            ## @ips_fragtimeout
	.comm	_nfrags,4,2                     ## @nfrags
	.comm	_ipq_list,4,2                   ## @ipq_list
	.no_dead_strip	_ipq_reuse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipq_reuse
_ipq_reuse:                             ; @ipq_reuse
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_IPQ_LOCK_ASSERT
Lloh0:
	adrp	x23, _IPREASS_NHASH@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IPREASS_NHASH@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w24, #0
Lloh2:
	adrp	x22, _V_ipq@GOTPAGE
Lloh3:
	ldr	x22, [x22, _V_ipq@GOTPAGEOFF]
Lloh4:
	adrp	x25, _ipqhead@GOTPAGE
Lloh5:
	ldr	x25, [x25, _ipqhead@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	ldr	w8, [x23]
	cmp	w24, w8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w19, w24
	sdiv	w10, w9, w8
	msub	w20, w10, w8, w9
	cmp	w20, w19
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_IPQ_TRYLOCK
	cbz	x0, LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	add	x8, x8, w20, sxtw #3
	add	x0, x8, #4
	ldr	w1, [x25]
	bl	_TAILQ_LAST
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w20, w19
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_IPQ_UNLOCK
	b	LBB0_2
LBB0_8:
	mov	x21, #0
LBB0_9:
	mov	x0, x19
	bl	_IPQ_LOCK_ASSERT
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x21, x0
	sxtw	x23, w20
Lloh6:
	adrp	x8, _ips_fragtimeout@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ips_fragtimeout@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x21, #8]
	bl	_IPSTAT_ADD
	ldr	w1, [x21, #8]
Lloh9:
	adrp	x0, _nfrags@GOTPAGE
Lloh10:
	ldr	x0, [x0, _nfrags@GOTPAGEOFF]
	bl	_atomic_subtract_int
	ldr	x0, [x21]
	cbz	x0, LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	str	x8, [x21]
	bl	_m_freem
	ldr	x0, [x21]
	cbnz	x0, LBB0_11
LBB0_12:
	ldr	x8, [x22]
	lsl	x23, x23, #3
	add	x8, x8, x23
	add	x0, x8, #4
Lloh11:
	adrp	x8, _ipq_list@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ipq_list@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_TAILQ_REMOVE
	ldr	x8, [x22]
	ldr	w9, [x8, x23]
	sub	w9, w9, #1
	str	w9, [x8, x23]
	cmp	w20, w19
	b.eq	LBB0_9
; %bb.13:
	mov	x0, x20
	bl	_IPQ_UNLOCK
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IPREASS_NHASH,4,2              ; @IPREASS_NHASH
	.comm	_V_ipq,8,3                      ; @V_ipq
	.comm	_ipqhead,4,2                    ; @ipqhead
	.comm	_ips_fragtimeout,4,2            ; @ips_fragtimeout
	.comm	_nfrags,4,2                     ; @nfrags
	.comm	_ipq_list,4,2                   ; @ipq_list
	.no_dead_strip	_ipq_reuse
.subsections_via_symbols
