	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_pxa_xfer
_i2c_pxa_xfer:                          ## @i2c_pxa_xfer
	.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	8(%rdi), %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r14d
	testl	%r14d, %r14d
	js	LBB0_6
## %bb.1:
	movl	%edx, %r15d
	movq	%rsi, %r12
	addq	$4, -48(%rbp)                   ## 8-byte Folded Spill
	incl	%r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$100, %edi
	callq	_udelay
	decl	%r14d
	testl	%r14d, %r14d
	movq	%rbx, %rax
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_i2c_pxa_do_xfer
	movl	%eax, %r13d
	movq	_I2C_RETRY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_i2c_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_i2c_pxa_scream_blue_murder
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_7:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_i2c_pxa_set_slave
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_RETRY,4,2                  ## @I2C_RETRY
	.comm	_i2c_debug,8,3                  ## @i2c_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Retrying transmission\n"

L_.str.1:                               ## @.str.1
	.asciz	"exhausted retries"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.no_dead_strip	_i2c_pxa_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_pxa_xfer
_i2c_pxa_xfer:                          ; @i2c_pxa_xfer
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x19, [x0, #8]
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_6
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	add	x22, x0, #4
	add	w25, w8, #1
Lloh0:
	adrp	x26, _I2C_RETRY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _I2C_RETRY@GOTPAGEOFF]
Lloh2:
	adrp	x27, _i2c_debug@GOTPAGE
Lloh3:
	ldr	x27, [x27, _i2c_debug@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #100
	bl	_udelay
	sub	w25, w25, #1
	cmp	w25, #0
	b.le	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_i2c_pxa_do_xfer
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_dev_dbg
	b	LBB0_2
LBB0_6:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_i2c_pxa_scream_blue_murder
Lloh8:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_8
LBB0_7:
	mov	x24, x0
LBB0_8:
	mov	x0, x19
	mov	x1, x24
	bl	_i2c_pxa_set_slave
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_RETRY,4,2                  ; @I2C_RETRY
	.comm	_i2c_debug,8,3                  ; @i2c_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Retrying transmission\n"

l_.str.1:                               ; @.str.1
	.asciz	"exhausted retries"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.no_dead_strip	_i2c_pxa_xfer
.subsections_via_symbols
