	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_int_enable
_emac_int_enable:                       ## @emac_int_enable
	.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_1
## %bb.2:
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_4:
	movq	_EMAC_DM646X_CMRXINTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$255, %ebx
	movl	$255, %esi
	callq	_emac_ctrl_write
	movq	_EMAC_DM646X_CMTXINTEN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movl	$1, %ebx
	movq	_EMAC_CTRL_EWCTL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	movl	%ebx, %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_CTRL_EWCTL,4,2            ## @EMAC_CTRL_EWCTL
	.no_dead_strip	_emac_int_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_int_enable
_emac_int_enable:                       ; @emac_int_enable
	.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:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
LBB0_3:
Lloh3:
	adrp	x8, _EMAC_DM646X_CMRXINTEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMAC_DM646X_CMRXINTEN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w19, #255
	mov	w1, #255
	bl	_emac_ctrl_write
Lloh6:
	adrp	x8, _EMAC_DM646X_CMTXINTEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMAC_DM646X_CMTXINTEN@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	w19, #1
Lloh8:
	adrp	x8, _EMAC_CTRL_EWCTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EMAC_CTRL_EWCTL@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	mov	x1, x19
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.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_CTRL_EWCTL,4,2            ; @EMAC_CTRL_EWCTL
	.no_dead_strip	_emac_int_enable
.subsections_via_symbols
