	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_intr_test_isr
_lan743x_intr_test_isr:                 ## @lan743x_intr_test_isr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	$0, (%rdi)
	movq	_INT_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INT_BIT_SW_GP_@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_lan743x_csr_write
	movq	_INT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_lan743x_csr_write
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	(%r14), %rax
LBB0_11:
	negl	%r15d
	xorl	%ebx, %ebx
	testq	%rax, %rax
	cmovel	%r15d, %ebx
	movq	_INT_EN_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_lan743x_csr_write
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_INT_EN_SET,4,2                 ## @INT_EN_SET
	.comm	_INT_BIT_SW_GP_,4,2             ## @INT_BIT_SW_GP_
	.comm	_INT_SET,4,2                    ## @INT_SET
	.comm	_INT_EN_CLR,4,2                 ## @INT_EN_CLR
	.no_dead_strip	_lan743x_intr_test_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_intr_test_isr
_lan743x_intr_test_isr:                 ; @lan743x_intr_test_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	str	xzr, [x0]
Lloh3:
	adrp	x8, _INT_EN_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_EN_SET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x21, _INT_BIT_SW_GP_@GOTPAGE
Lloh7:
	ldr	x21, [x21, _INT_BIT_SW_GP_@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_lan743x_csr_write
Lloh8:
	adrp	x8, _INT_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INT_SET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_lan743x_csr_write
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.1:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.2:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.3:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.4:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.5:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.6:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.7:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.8:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.9:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.10:
	mov	w0, #1000
	mov	w1, #20000
	bl	_usleep_range
	ldr	x8, [x19]
LBB0_11:
	cmp	x8, #0
	csneg	w20, wzr, w20, ne
Lloh11:
	adrp	x8, _INT_EN_CLR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INT_EN_CLR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_lan743x_csr_write
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_INT_EN_SET,4,2                 ; @INT_EN_SET
	.comm	_INT_BIT_SW_GP_,4,2             ; @INT_BIT_SW_GP_
	.comm	_INT_SET,4,2                    ; @INT_SET
	.comm	_INT_EN_CLR,4,2                 ; @INT_EN_CLR
	.no_dead_strip	_lan743x_intr_test_isr
.subsections_via_symbols
