	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8152_system_resume
_rtl8152_system_resume:                 ## @rtl8152_system_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_netif_device_attach
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	*8(%r14)
	movq	%rbx, %rdi
	callq	_netif_carrier_off
	movq	_WORK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	callq	_set_bit
	movl	(%r14), %edi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_WORK_ENABLE,4,2                ## @WORK_ENABLE
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.no_dead_strip	_rtl8152_system_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8152_system_resume
_rtl8152_system_resume:                 ; @rtl8152_system_resume
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #16]
	mov	x0, x20
	bl	_netif_device_attach
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	mov	x0, x20
	bl	_netif_carrier_off
Lloh3:
	adrp	x8, _WORK_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WORK_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_usb_submit_urb
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_WORK_ENABLE,4,2                ; @WORK_ENABLE
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.no_dead_strip	_rtl8152_system_resume
.subsections_via_symbols
