	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8168ep_stop_cmac
_rtl8168ep_stop_cmac:                   ## @rtl8168ep_stop_cmac
	.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, %rbx
	movq	_IBCR2@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %esi
	callq	_RTL_R8
	andl	$-2, %eax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_RTL_W8
	movq	_rtl_ocp_tx_cond@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$50, %edx
	movl	$2000, %ecx                     ## imm = 0x7D0
	callq	_rtl_msleep_loop_wait_high
	movq	_IBISR0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_R8
	orl	$32, %eax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_RTL_W8
	movq	_IBCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_R8
	andl	$-2, %eax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_RTL_W8                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IBCR2,4,2                      ## @IBCR2
	.comm	_rtl_ocp_tx_cond,4,2            ## @rtl_ocp_tx_cond
	.comm	_IBISR0,4,2                     ## @IBISR0
	.comm	_IBCR0,4,2                      ## @IBCR0
	.no_dead_strip	_rtl8168ep_stop_cmac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8168ep_stop_cmac
_rtl8168ep_stop_cmac:                   ; @rtl8168ep_stop_cmac
	.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
Lloh0:
	adrp	x8, _IBCR2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBCR2@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x1, x20
	bl	_RTL_R8
	and	w2, w0, #0xfffffffe
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_W8
Lloh3:
	adrp	x1, _rtl_ocp_tx_cond@GOTPAGE
Lloh4:
	ldr	x1, [x1, _rtl_ocp_tx_cond@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #50
	mov	w3, #2000
	bl	_rtl_msleep_loop_wait_high
Lloh5:
	adrp	x8, _IBISR0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IBISR0@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R8
	orr	w2, w0, #0x20
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_W8
Lloh8:
	adrp	x8, _IBCR0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IBCR0@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R8
	and	w2, w0, #0xfffffffe
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RTL_W8
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IBCR2,4,2                      ; @IBCR2
	.comm	_rtl_ocp_tx_cond,4,2            ; @rtl_ocp_tx_cond
	.comm	_IBISR0,4,2                     ; @IBISR0
	.comm	_IBCR0,4,2                      ; @IBCR0
	.no_dead_strip	_rtl8168ep_stop_cmac
.subsections_via_symbols
