	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqc111_status
_aqc111_status:                         ## @aqc111_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$4, (%rsi)
	jb	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	8(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_le64_to_cpus
	movl	(%rbx), %eax
	movq	_AQ_LS_MASK@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%bl
	movq	_AQ_SPEED_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_AQ_SPEED_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, (%r15)
	movl	%ebx, 4(%r15)
	movl	(%r14), %edi
	callq	_netif_carrier_ok
	cmpl	%ebx, %eax
	jne	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_EVENT_LINK_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usbnet_defer_kevent            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_LS_MASK,4,2                 ## @AQ_LS_MASK
	.comm	_AQ_SPEED_MASK,4,2              ## @AQ_SPEED_MASK
	.comm	_AQ_SPEED_SHIFT,4,2             ## @AQ_SPEED_SHIFT
	.comm	_EVENT_LINK_RESET,4,2           ## @EVENT_LINK_RESET
	.no_dead_strip	_aqc111_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqc111_status
_aqc111_status:                         ; @aqc111_status
	.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
	ldr	w8, [x1]
	cmp	w8, #4
	b.lo	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x20, [x1, #8]
	mov	x0, x20
	bl	_le64_to_cpus
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _AQ_LS_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AQ_LS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w20, ne
Lloh3:
	adrp	x9, _AQ_SPEED_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AQ_SPEED_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _AQ_SPEED_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AQ_SPEED_SHIFT@GOTPAGEOFF]
	and	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	asr	w8, w8, w9
	stp	w8, w20, [x21]
	ldr	w0, [x19]
	bl	_netif_carrier_ok
	cmp	w0, w20
	b.ne	LBB0_3
LBB0_2:
	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
LBB0_3:
Lloh9:
	adrp	x8, _EVENT_LINK_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EVENT_LINK_RESET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_usbnet_defer_kevent
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_LS_MASK,4,2                 ; @AQ_LS_MASK
	.comm	_AQ_SPEED_MASK,4,2              ; @AQ_SPEED_MASK
	.comm	_AQ_SPEED_SHIFT,4,2             ; @AQ_SPEED_SHIFT
	.comm	_EVENT_LINK_RESET,4,2           ; @EVENT_LINK_RESET
	.no_dead_strip	_aqc111_status
.subsections_via_symbols
