	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delay_autosuspend
_delay_autosuspend:                     ## @delay_autosuspend
	.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	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	_netif_carrier_ok
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_rtl8152_get_speed
	movl	%eax, %r12d
	movq	_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	16(%rbx), %rdi
	callq	_work_busy
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	testl	%r15d, %r15d
	setne	%al
	testl	%r12d, %r13d
	sete	%cl
	cmpb	%cl, %al
	je	LBB0_5
## %bb.2:
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_skb_queue_empty
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINK_STATUS,4,2                ## @LINK_STATUS
	.no_dead_strip	_delay_autosuspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delay_autosuspend
_delay_autosuspend:                     ; @delay_autosuspend
	.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
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_netif_carrier_ok
	mov	x20, x0
	mov	x0, x19
	bl	_rtl8152_get_speed
	mov	x21, x0
Lloh0:
	adrp	x8, _LINK_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINK_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	add	x0, x19, #16
	bl	_work_busy
	cbnz	x0, LBB0_5
; %bb.1:
	cmp	w20, #0
	cset	w8, ne
	tst	w22, w21
	cset	w9, eq
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.2:
	cbz	w20, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_skb_queue_empty
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_3
LBB0_5:
	mov	w0, #1
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LINK_STATUS,4,2                ; @LINK_STATUS
	.no_dead_strip	_delay_autosuspend
.subsections_via_symbols
