	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan9303_read
_lan9303_read:                          ## @lan9303_read
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_regmap_read
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %r13
	addl	(%r13), %eax
	jne	LBB0_11
## %bb.2:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	addl	(%r13), %eax
	jne	LBB0_11
## %bb.4:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	addl	(%r13), %eax
	jne	LBB0_11
## %bb.6:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	addl	(%r13), %eax
	jne	LBB0_11
## %bb.8:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	addl	(%r13), %eax
	jne	LBB0_11
## %bb.10:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep
LBB0_11:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_lan9303_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan9303_read
_lan9303_read:                          ; @lan9303_read
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_regmap_read
	cbz	w0, LBB0_12
; %bb.1:
Lloh0:
	adrp	x22, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EAGAIN@GOTPAGEOFF]
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.2:
	mov	w0, #500
	bl	_msleep
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_regmap_read
	cbz	w0, LBB0_12
; %bb.3:
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.4:
	mov	w0, #500
	bl	_msleep
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_regmap_read
	cbz	w0, LBB0_12
; %bb.5:
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.6:
	mov	w0, #500
	bl	_msleep
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_regmap_read
	cbz	w0, LBB0_12
; %bb.7:
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.8:
	mov	w0, #500
	bl	_msleep
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_regmap_read
	cbz	w0, LBB0_12
; %bb.9:
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #500
	bl	_msleep
LBB0_11:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_lan9303_read
.subsections_via_symbols
