	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8152_runtime_resume
_rtl8152_runtime_resume:                ## @rtl8152_runtime_resume
	.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
	movq	%rdi, %rbx
	movq	40(%rdi), %r15
	movq	%r15, %rdi
	callq	_netif_running
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r15), %ecx
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.2:
	leaq	28(%rbx), %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*8(%rbx)
	movq	%r14, %rdi
	callq	_napi_disable
	movq	_WORK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_rtl8152_get_speed
	movq	_LINK_STATUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_rtl_start_rx
	jmp	LBB0_6
LBB0_9:
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*8(%rbx)
LBB0_11:
	movq	_SELECTIVE_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	jmp	LBB0_12
LBB0_5:
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movq	%rbx, %rdi
	callq	*16(%rbx)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_netif_info
LBB0_6:
	movq	%r14, %rdi
	callq	_napi_enable
	movq	_SELECTIVE_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	xorl	%eax, %eax
	callq	_smp_mb__after_atomic
	leaq	32(%rbx), %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_napi_schedule
LBB0_8:
	movl	24(%rbx), %edi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_WORK_ENABLE,4,2                ## @WORK_ENABLE
	.comm	_LINK_STATUS,4,2                ## @LINK_STATUS
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"linking down\n"

	.comm	_SELECTIVE_SUSPEND,4,2          ## @SELECTIVE_SUSPEND
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.no_dead_strip	_rtl8152_runtime_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8152_runtime_resume
_rtl8152_runtime_resume:                ; @rtl8152_runtime_resume
	.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	x21, [x0, #40]
	mov	x0, x21
	bl	_netif_running
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	x0, LBB0_5
; %bb.1:
	cbz	w8, LBB0_7
; %bb.2:
	add	x20, x19, #28
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x0, x20
	bl	_napi_disable
Lloh3:
	adrp	x8, _WORK_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WORK_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	x0, x21
	bl	_netif_carrier_ok
	cbz	x0, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_rtl8152_get_speed
Lloh6:
	adrp	x8, _LINK_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LINK_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_rtl_start_rx
	b	LBB0_9
LBB0_5:
	cbz	w8, LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_7:
Lloh9:
	adrp	x8, _SELECTIVE_SUSPEND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SELECTIVE_SUSPEND@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	b	LBB0_12
LBB0_8:
	mov	x0, x21
	bl	_netif_carrier_off
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
Lloh12:
	adrp	x8, _link@GOTPAGE
Lloh13:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_netif_info
LBB0_9:
	mov	x0, x20
	bl	_napi_enable
Lloh17:
	adrp	x8, _SELECTIVE_SUSPEND@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SELECTIVE_SUSPEND@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	bl	_smp_mb__after_atomic
	add	x0, x19, #32
	bl	_list_empty
	cbnz	w0, LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_napi_schedule
LBB0_11:
	ldr	w0, [x19, #24]
Lloh20:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_usb_submit_urb
LBB0_12:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_WORK_ENABLE,4,2                ; @WORK_ENABLE
	.comm	_LINK_STATUS,4,2                ; @LINK_STATUS
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"linking down\n"

	.comm	_SELECTIVE_SUSPEND,4,2          ; @SELECTIVE_SUSPEND
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.no_dead_strip	_rtl8152_runtime_resume
.subsections_via_symbols
