	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_aen_lost
_ql_aen_lost:                           ## @ql_aen_lost
	.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	%rsi, %r13
	movq	%rdi, %r15
	movl	$6, (%rsi)
	callq	_ql_get_mb_sts
	movq	_drv@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%r15), %edx
	testl	%eax, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	cmpl	$0, (%r13)
	jle	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %r9d
	movq	%r15, %rdi
	movq	%r12, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_netif_err
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Lost AEN broken!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Lost AEN detected.\n"

L_.str.2:                               ## @.str.2
	.asciz	"mbox_out[%d] = 0x%.08x.\n"

	.no_dead_strip	_ql_aen_lost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_aen_lost
_ql_aen_lost:                           ; @ql_aen_lost
	.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
	mov	x21, x1
	mov	x20, x0
	mov	w8, #6
	str	w8, [x1]
	bl	_ql_get_mb_sts
	mov	x19, x0
Lloh0:
	adrp	x23, _drv@GOTPAGE
Lloh1:
	ldr	x23, [x23, _drv@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x20]
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_err
	b	LBB0_5
LBB0_2:
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netif_err
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x24, #0
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	ldr	w2, [x20]
	ldr	x8, [x21, #8]
	ldr	w8, [x8, x24, lsl #2]
	stp	x24, x8, [sp]
	mov	x0, x20
	mov	x3, x22
	bl	_netif_err
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Lost AEN broken!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Lost AEN detected.\n"

l_.str.2:                               ; @.str.2
	.asciz	"mbox_out[%d] = 0x%.08x.\n"

	.no_dead_strip	_ql_aen_lost
.subsections_via_symbols
