	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ageq_age             ## -- Begin function ieee80211_ageq_age
	.p2align	4, 0x90
_ieee80211_ageq_age:                    ## @ieee80211_ageq_age
	.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
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_IEEE80211_AGEQ_LOCK
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	leaq	-48(%rbp), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r13
	movq	(%r15), %rsi
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setg	%dil
	callq	_KASSERT
	decq	(%r15)
	movq	%rbx, (%r12)
	movq	16(%r15), %rbx
	movq	%r13, %r12
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_M_AGE_GET
	cmpl	%r14d, %eax
	jge	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, 8(%r15)
	jmp	LBB0_8
LBB0_1:
	leaq	-48(%rbp), %r13
	jmp	LBB0_11
LBB0_3:
	leaq	-48(%rbp), %r13
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_M_AGE_SUB
	movq	%r12, %r13
LBB0_10:
	movq	%r15, %rdi
	callq	_IEEE80211_AGEQ_UNLOCK
LBB0_11:
	movq	$0, (%r13)
	movq	-48(%rbp), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ageq_age             ; -- Begin function ieee80211_ageq_age
	.p2align	2
_ieee80211_ageq_age:                    ; @ieee80211_ageq_age
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_IEEE80211_AGEQ_LOCK
	ldr	x21, [x19, #16]
	cbz	x21, LBB0_8
; %bb.2:
	add	x22, sp, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x21
	ldr	x1, [x19]
	cmp	x1, #0
	cset	w0, gt
	bl	_KASSERT
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	str	x21, [x22]
	ldr	x21, [x19, #16]
	mov	x22, x23
	cbz	x21, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_M_AGE_GET
	cmp	w0, w20
	b.ge	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	str	x8, [x19, #16]
	cbnz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, #8]
	b	LBB0_3
LBB0_7:
	add	x23, sp, #8
	b	LBB0_11
LBB0_8:
	add	x23, sp, #8
	b	LBB0_10
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	bl	_M_AGE_SUB
	mov	x23, x22
LBB0_10:
	mov	x0, x19
	bl	_IEEE80211_AGEQ_UNLOCK
LBB0_11:
	str	xzr, [x23]
	ldr	x0, [sp, #8]
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
