	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_int_disable
_emac_int_disable:                      ## @emac_int_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_EMAC_VERSION_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	callq	_local_irq_save
	movq	_EMAC_DM646X_CMRXINTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_emac_ctrl_write
	movq	_EMAC_DM646X_CMTXINTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_emac_ctrl_write
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_3:
	movq	_EMAC_DM646X_MACEOIVECTOR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_EMAC_DM646X_MAC_EOI_C0_RXEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emac_write
	movl	(%rbx), %edi
	movq	_EMAC_DM646X_MAC_EOI_C0_TXEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emac_write
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_local_irq_restore              ## TAILCALL
LBB0_4:
	movq	_EMAC_CTRL_EWCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_emac_ctrl_write                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_VERSION_2,8,3             ## @EMAC_VERSION_2
	.comm	_EMAC_DM646X_CMRXINTEN,4,2      ## @EMAC_DM646X_CMRXINTEN
	.comm	_EMAC_DM646X_CMTXINTEN,4,2      ## @EMAC_DM646X_CMTXINTEN
	.comm	_EMAC_DM646X_MACEOIVECTOR,4,2   ## @EMAC_DM646X_MACEOIVECTOR
	.comm	_EMAC_DM646X_MAC_EOI_C0_RXEN,4,2 ## @EMAC_DM646X_MAC_EOI_C0_RXEN
	.comm	_EMAC_DM646X_MAC_EOI_C0_TXEN,4,2 ## @EMAC_DM646X_MAC_EOI_C0_TXEN
	.comm	_EMAC_CTRL_EWCTL,4,2            ## @EMAC_CTRL_EWCTL
	.no_dead_strip	_emac_int_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_int_disable
_emac_int_disable:                      ; @emac_int_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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EMAC_VERSION_2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EMAC_VERSION_2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_local_irq_save
Lloh3:
	adrp	x8, _EMAC_DM646X_CMRXINTEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMAC_DM646X_CMRXINTEN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_emac_ctrl_write
Lloh6:
	adrp	x8, _EMAC_DM646X_CMTXINTEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMAC_DM646X_CMTXINTEN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_emac_ctrl_write
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
LBB0_3:
Lloh9:
	adrp	x19, _EMAC_DM646X_MACEOIVECTOR@GOTPAGE
Lloh10:
	ldr	x19, [x19, _EMAC_DM646X_MACEOIVECTOR@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _EMAC_DM646X_MAC_EOI_C0_RXEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EMAC_DM646X_MAC_EOI_C0_RXEN@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_emac_write
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _EMAC_DM646X_MAC_EOI_C0_TXEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EMAC_DM646X_MAC_EOI_C0_TXEN@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_emac_write
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_local_irq_restore
LBB0_4:
Lloh17:
	adrp	x8, _EMAC_CTRL_EWCTL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EMAC_CTRL_EWCTL@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_emac_ctrl_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_VERSION_2,8,3             ; @EMAC_VERSION_2
	.comm	_EMAC_DM646X_CMRXINTEN,4,2      ; @EMAC_DM646X_CMRXINTEN
	.comm	_EMAC_DM646X_CMTXINTEN,4,2      ; @EMAC_DM646X_CMTXINTEN
	.comm	_EMAC_DM646X_MACEOIVECTOR,4,2   ; @EMAC_DM646X_MACEOIVECTOR
	.comm	_EMAC_DM646X_MAC_EOI_C0_RXEN,4,2 ; @EMAC_DM646X_MAC_EOI_C0_RXEN
	.comm	_EMAC_DM646X_MAC_EOI_C0_TXEN,4,2 ; @EMAC_DM646X_MAC_EOI_C0_TXEN
	.comm	_EMAC_CTRL_EWCTL,4,2            ; @EMAC_CTRL_EWCTL
	.no_dead_strip	_emac_int_disable
.subsections_via_symbols
