	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e1xxx_interrupt_disable
_mv88e1xxx_interrupt_disable:           ## @mv88e1xxx_interrupt_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_MV88E1XXX_INTERRUPT_ENABLE_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_simple_mdio_write
	movl	(%rbx), %edi
	callq	_t1_is_asic
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %edi
	movq	_A_ELMER0_INT_ENABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-20(%rbp), %rdx
	callq	_t1_tpi_read
	movq	_ELMER0_GP_BIT1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -20(%rbp)
	movl	(%rbx), %edi
	callq	_is_T2
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_ELMER0_GP_BIT2@GOTPCREL(%rip), %rax
	movq	_ELMER0_GP_BIT3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ELMER0_GP_BIT4@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	-20(%rbp), %edx
	movl	%edx, -20(%rbp)
	jmp	LBB0_4
LBB0_2:
	movl	-20(%rbp), %edx
LBB0_4:
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_t1_tpi_write
LBB0_5:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E1XXX_INTERRUPT_ENABLE_REGISTER,4,2 ## @MV88E1XXX_INTERRUPT_ENABLE_REGISTER
	.comm	_A_ELMER0_INT_ENABLE,4,2        ## @A_ELMER0_INT_ENABLE
	.comm	_ELMER0_GP_BIT1,4,2             ## @ELMER0_GP_BIT1
	.comm	_ELMER0_GP_BIT2,4,2             ## @ELMER0_GP_BIT2
	.comm	_ELMER0_GP_BIT3,4,2             ## @ELMER0_GP_BIT3
	.comm	_ELMER0_GP_BIT4,4,2             ## @ELMER0_GP_BIT4
	.no_dead_strip	_mv88e1xxx_interrupt_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e1xxx_interrupt_disable
_mv88e1xxx_interrupt_disable:           ; @mv88e1xxx_interrupt_disable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, _MV88E1XXX_INTERRUPT_ENABLE_REGISTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E1XXX_INTERRUPT_ENABLE_REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_simple_mdio_write
	ldr	w0, [x19]
	bl	_t1_is_asic
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x20, _A_ELMER0_INT_ENABLE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _A_ELMER0_INT_ENABLE@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_t1_tpi_read
Lloh5:
	adrp	x8, _ELMER0_GP_BIT1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ELMER0_GP_BIT1@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w0, [x19]
	bl	_is_T2
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _ELMER0_GP_BIT2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ELMER0_GP_BIT2@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _ELMER0_GP_BIT3@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ELMER0_GP_BIT3@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _ELMER0_GP_BIT4@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ELMER0_GP_BIT4@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh16:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	b	LBB0_4
LBB0_3:
	ldr	w2, [sp, #12]
LBB0_4:
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_t1_tpi_write
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E1XXX_INTERRUPT_ENABLE_REGISTER,4,2 ; @MV88E1XXX_INTERRUPT_ENABLE_REGISTER
	.comm	_A_ELMER0_INT_ENABLE,4,2        ; @A_ELMER0_INT_ENABLE
	.comm	_ELMER0_GP_BIT1,4,2             ; @ELMER0_GP_BIT1
	.comm	_ELMER0_GP_BIT2,4,2             ; @ELMER0_GP_BIT2
	.comm	_ELMER0_GP_BIT3,4,2             ; @ELMER0_GP_BIT3
	.comm	_ELMER0_GP_BIT4,4,2             ; @ELMER0_GP_BIT4
	.no_dead_strip	_mv88e1xxx_interrupt_disable
.subsections_via_symbols
