	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hip04_mac_disable
_hip04_mac_disable:                     ## @hip04_mac_disable
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_DEF_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	(%rbx), %edi
	movl	%edi, (%rbx)
	movq	_PPE_INTEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel_relaxed
	movq	_GE_PORT_EN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	_GE_RX_PORT_EN@GOTPCREL(%rip), %rcx
	movq	_GE_TX_PORT_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEF_INT_MASK,4,2               ## @DEF_INT_MASK
	.comm	_PPE_INTEN,8,3                  ## @PPE_INTEN
	.comm	_GE_PORT_EN,8,3                 ## @GE_PORT_EN
	.comm	_GE_RX_PORT_EN,4,2              ## @GE_RX_PORT_EN
	.comm	_GE_TX_PORT_EN,4,2              ## @GE_TX_PORT_EN
	.no_dead_strip	_hip04_mac_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hip04_mac_disable
_hip04_mac_disable:                     ; @hip04_mac_disable
	.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
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _DEF_INT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEF_INT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w0, w9, w8
	str	w0, [x19]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _PPE_INTEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PPE_INTEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x20, _GE_PORT_EN@GOTPAGE
Lloh7:
	ldr	x20, [x20, _GE_PORT_EN@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl_relaxed
Lloh8:
	adrp	x8, _GE_RX_PORT_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GE_RX_PORT_EN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _GE_TX_PORT_EN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GE_TX_PORT_EN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEF_INT_MASK,4,2               ; @DEF_INT_MASK
	.comm	_PPE_INTEN,8,3                  ; @PPE_INTEN
	.comm	_GE_PORT_EN,8,3                 ; @GE_PORT_EN
	.comm	_GE_RX_PORT_EN,4,2              ; @GE_RX_PORT_EN
	.comm	_GE_TX_PORT_EN,4,2              ; @GE_TX_PORT_EN
	.no_dead_strip	_hip04_mac_disable
.subsections_via_symbols
