	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7134_i2c_xfer
_saa7134_i2c_xfer:                      ## @saa7134_i2c_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	(%rdi), %r13
	movq	%r13, %rdi
	callq	_i2c_get_status
	movl	%eax, %edi
	callq	_i2c_is_idle
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r13, %rdi
	callq	_i2c_reset
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_i2c_dbg
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_i2c_dbg
	testl	%ebx, %ebx
	jle	LBB0_23
## %bb.4:
	movl	%ebx, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_I2C_M_NOSTART@GOTPCREL(%rip), %rcx
	movq	_I2C_M_RD@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-104(%rbp), %r12                ## 8-byte Reload
	incq	%r12
	cmpq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	_I2C_M_NOSTART@GOTPCREL(%rip), %rcx
	movq	_I2C_M_RD@GOTPCREL(%rip), %r15
	je	LBB0_23
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
	leaq	(%r12,%r12,2), %rbx
	movl	(%r14,%rbx,8), %eax
	testl	%eax, (%rcx)
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r12, %r12
	je	LBB0_7
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, (%r15)
	je	LBB0_26
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$2, %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_i2c_dbg
	cmpl	$0, 8(%r14,%rbx,8)
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax,8), %rbx
	addq	$8, %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1, %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_i2c_cont
	movq	%r13, %rdi
	callq	_i2c_recv_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_31
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_i2c_cont
	movq	8(%rbx), %rax
	movl	%r12d, (%rax,%r15,4)
	incq	%r15
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jl	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$25, 4(%r14,%rax,8)
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_i2c_cont
	movq	%r13, %rdi
	callq	_i2c_recv_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_31
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_i2c_cont
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r13
	leaq	(%r14,%rbx,8), %r14
	movl	$2, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_i2c_dbg
	movl	(%r15), %eax
	movq	%rbx, %rcx
	xorl	%ebx, %ebx
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	andl	(%r14), %eax
	movq	%r13, %r14
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	setne	%sil
	movl	4(%r14,%rcx,8), %edx
	testq	%r12, %r12
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	-25(%rdx), %eax
	cmpl	$40, %eax
	ja	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movabsq	$1649267441665, %rcx            ## imm = 0x18000000001
	btq	%rax, %rcx
	jb	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	movb	%sil, -41(%rbp)                 ## 1-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%rdx, %r12
	movl	$254, %edx
	xorl	%eax, %eax
	callq	_i2c_cont
	movq	_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$254, %edx
	callq	_i2c_send_byte
	movq	%r13, %rdi
	callq	_i2c_recv_byte
	movb	-41(%rbp), %sil                 ## 1-byte Reload
	movq	%r12, %rdx
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	%sil, %bl
	leal	(%rbx,%rdx,2), %ebx
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_i2c_cont
	movq	_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r13, %rdi
	callq	_i2c_send_byte
	testl	%eax, %eax
	js	LBB0_30
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, (%r15)
	jne	LBB0_15
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$2, %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_i2c_dbg
	cmpl	$0, 8(%r14,%rbx,8)
	jle	LBB0_22
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,8), %r15
	addq	$8, %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movzbl	(%rax,%r14,4), %ebx
	movl	$1, %edi
	leaq	L_.str.10(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_i2c_cont
	movq	_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_i2c_send_byte
	testl	%eax, %eax
	js	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_29 Depth=2
	incq	%r14
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jl	LBB0_29
	jmp	LBB0_22
LBB0_23:
	leaq	L_.str.11(%rip), %rsi
	movl	$2, %edi
	callq	_i2c_dbg
	leaq	L_.str.12(%rip), %rsi
	xorl	%r12d, %r12d
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_i2c_cont
	movq	_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_set_attr
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_i2c_is_busy_wait
	testl	%eax, %eax
	je	LBB0_31
## %bb.24:
	movq	%r13, %rdi
	callq	_i2c_get_status
	movl	%eax, %edi
	callq	_i2c_is_error
	testq	%rax, %rax
	jne	LBB0_31
## %bb.25:
	movl	$1, %edi
	callq	_msleep
	leaq	L_.str.13(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_i2c_cont
	jmp	LBB0_34
LBB0_30:
	movl	%eax, %r12d
LBB0_31:
	movq	_i2c_debug@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_33
## %bb.32:
	movq	%r13, %rdi
	callq	_i2c_get_status
	movq	_str_i2c_status@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movzbl	(%rcx,%rax), %edx
	leaq	L_.str.14(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_i2c_cont
LBB0_33:
	movl	%r12d, %ebx
LBB0_34:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start xfer\n"

L_.str.1:                               ## @.str.1
	.asciz	"i2c xfer:"

	.comm	_I2C_M_NOSTART,4,2              ## @I2C_M_NOSTART
L_.str.2:                               ## @.str.2
	.asciz	"send address\n"

	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
L_.str.3:                               ## @.str.3
	.asciz	" [%02x quirk]"

	.comm	_START,4,2                      ## @START
L_.str.4:                               ## @.str.4
	.asciz	" < %02x"

L_.str.5:                               ## @.str.5
	.asciz	"read bytes\n"

L_.str.6:                               ## @.str.6
	.asciz	" ="

L_.str.7:                               ## @.str.7
	.asciz	"%02x"

L_.str.8:                               ## @.str.8
	.asciz	" ?"

L_.str.9:                               ## @.str.9
	.asciz	"write bytes\n"

L_.str.10:                              ## @.str.10
	.asciz	" %02x"

	.comm	_CONTINUE,4,2                   ## @CONTINUE
L_.str.11:                              ## @.str.11
	.asciz	"xfer done\n"

L_.str.12:                              ## @.str.12
	.asciz	" >"

	.comm	_STOP,4,2                       ## @STOP
L_.str.13:                              ## @.str.13
	.asciz	"\n"

	.comm	_i2c_debug,4,2                  ## @i2c_debug
L_.str.14:                              ## @.str.14
	.asciz	" ERROR: %s\n"

	.comm	_str_i2c_status,8,3             ## @str_i2c_status
	.no_dead_strip	_saa7134_i2c_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa7134_i2c_xfer
_saa7134_i2c_xfer:                      ; @saa7134_i2c_xfer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x21, x1
	ldr	x19, [x0]
	mov	x0, x19
	bl	_i2c_get_status
	bl	_i2c_is_idle
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_i2c_reset
	cbz	w0, LBB0_32
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_i2c_dbg
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_i2c_dbg
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	cmp	w20, #1
	b.lt	LBB0_24
; %bb.3:
	mov	x22, #0
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	mov	w8, w8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh4:
	adrp	x26, _I2C_M_NOSTART@GOTPAGE
Lloh5:
	ldr	x26, [x26, _I2C_M_NOSTART@GOTPAGEOFF]
Lloh6:
	adrp	x23, _I2C_M_RD@GOTPAGE
Lloh7:
	ldr	x23, [x23, _I2C_M_RD@GOTPAGEOFF]
	mov	w20, #24
Lloh8:
	adrp	x28, l_.str.6@PAGE
Lloh9:
	add	x28, x28, l_.str.6@PAGEOFF
Lloh10:
	adrp	x24, l_.str.7@PAGE
Lloh11:
	add	x24, x24, l_.str.7@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x22, x8
Lloh12:
	adrp	x23, _I2C_M_RD@GOTPAGE
Lloh13:
	ldr	x23, [x23, _I2C_M_RD@GOTPAGEOFF]
	mov	w20, #24
	b.eq	LBB0_24
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	madd	x27, x22, x20, x21
	ldr	w8, [x27]
	ldr	w9, [x26]
	and	w9, w9, w8
	cmp	w9, #0
	ccmp	x22, #0, #4, ne
	b.ne	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #2
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_i2c_dbg
	madd	x8, x22, x20, x21
	ldr	w20, [x8, #4]
	ldr	w8, [x27]
	ldr	w9, [x23]
	ands	w8, w9, w8
	cset	w25, ne
	cbz	x22, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w20, #25
	cmp	w8, #40
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #1
	movk	x9, #384, lsl #32
	and	x8, x8, x9
	ccmp	x8, #0, #4, ls
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #254
	str	x8, [sp]
	mov	w0, #1
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_i2c_cont
Lloh18:
	adrp	x8, _START@GOTPAGE
Lloh19:
	ldr	x8, [x8, _START@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #254
	bl	_i2c_send_byte
	mov	x0, x19
	bl	_i2c_recv_byte
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	bfi	w25, w20, #1, #31
	str	x25, [sp]
	mov	w0, #1
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_i2c_cont
Lloh23:
	adrp	x8, _START@GOTPAGE
Lloh24:
	ldr	x8, [x8, _START@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	and	w2, w25, #0xff
	mov	x0, x19
	bl	_i2c_send_byte
	tbnz	w0, #31, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	mov	w20, #24
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x23]
	mov	w0, #2
	tst	w9, w8
	b.eq	LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_i2c_dbg
	madd	x27, x22, x20, x21
	ldr	w8, [x27, #8]!
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	mov	w8, #24
	madd	x8, x22, x8, x21
	add	x23, x8, #16
LBB0_15:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #1
	mov	x1, x28
	bl	_i2c_cont
	mov	x0, x19
	bl	_i2c_recv_byte
	mov	x25, x0
	tbnz	w0, #31, LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	str	x25, [sp]
	mov	w0, #1
	mov	x1, x24
	bl	_i2c_cont
	ldr	x8, [x23]
	str	w25, [x8, x20, lsl #2]
	add	x20, x20, #1
	ldrsw	x8, [x27]
	cmp	x20, x8
	b.lt	LBB0_15
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #24
	madd	x8, x22, x8, x21
	ldr	w8, [x8, #4]
	cmp	w8, #25
	b.ne	LBB0_4
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_i2c_cont
	mov	x0, x19
	bl	_i2c_recv_byte
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_33
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	str	x0, [sp]
	mov	w0, #1
	mov	x1, x24
	bl	_i2c_cont
	b	LBB0_4
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_i2c_dbg
	mov	w9, #24
	madd	x27, x22, x20, x21
	ldr	w8, [x27, #8]!
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	madd	x8, x22, x9, x21
	add	x23, x8, #16
LBB0_22:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	lsl	x9, x20, #2
	ldrb	w25, [x8, x9]
	str	x25, [sp]
	mov	w0, #1
Lloh32:
	adrp	x1, l_.str.10@PAGE
Lloh33:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_i2c_cont
Lloh34:
	adrp	x8, _CONTINUE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CONTINUE@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x25
	bl	_i2c_send_byte
	tbnz	w0, #31, LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	add	x20, x20, #1
	ldrsw	x8, [x27]
	cmp	x20, x8
	b.lt	LBB0_22
	b	LBB0_4
LBB0_24:
Lloh37:
	adrp	x1, l_.str.11@PAGE
Lloh38:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #2
	bl	_i2c_dbg
Lloh39:
	adrp	x1, l_.str.12@PAGE
Lloh40:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w0, #1
	bl	_i2c_cont
Lloh41:
	adrp	x8, _STOP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _STOP@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_set_attr
Lloh44:
	adrp	x8, _EIO@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w25, w8
	mov	x0, x19
	bl	_i2c_is_busy_wait
	cbz	w0, LBB0_28
; %bb.25:
	mov	x0, x19
	bl	_i2c_get_status
	bl	_i2c_is_error
	cbnz	x0, LBB0_28
; %bb.26:
	mov	w0, #1
	bl	_msleep
Lloh47:
	adrp	x1, l_.str.13@PAGE
Lloh48:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w0, #1
	bl	_i2c_cont
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	b	LBB0_31
LBB0_27:
	mov	x25, x0
LBB0_28:
Lloh49:
	adrp	x8, _i2c_debug@GOTPAGE
Lloh50:
	ldr	x8, [x8, _i2c_debug@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_30
; %bb.29:
	mov	x0, x19
	bl	_i2c_get_status
Lloh52:
	adrp	x8, _str_i2c_status@GOTPAGE
Lloh53:
	ldr	x8, [x8, _str_i2c_status@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	ldrb	w8, [x8, w0, uxtw]
	str	x8, [sp]
Lloh55:
	adrp	x1, l_.str.14@PAGE
Lloh56:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	w0, #1
	bl	_i2c_cont
LBB0_30:
	mov	x0, x25
LBB0_31:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_32:
Lloh57:
	adrp	x8, _EIO@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_31
LBB0_33:
	mov	x25, x0
	b	LBB0_28
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start xfer\n"

l_.str.1:                               ; @.str.1
	.asciz	"i2c xfer:"

	.comm	_I2C_M_NOSTART,4,2              ; @I2C_M_NOSTART
l_.str.2:                               ; @.str.2
	.asciz	"send address\n"

	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
l_.str.3:                               ; @.str.3
	.asciz	" [%02x quirk]"

	.comm	_START,4,2                      ; @START
l_.str.4:                               ; @.str.4
	.asciz	" < %02x"

l_.str.5:                               ; @.str.5
	.asciz	"read bytes\n"

l_.str.6:                               ; @.str.6
	.asciz	" ="

l_.str.7:                               ; @.str.7
	.asciz	"%02x"

l_.str.8:                               ; @.str.8
	.asciz	" ?"

l_.str.9:                               ; @.str.9
	.asciz	"write bytes\n"

l_.str.10:                              ; @.str.10
	.asciz	" %02x"

	.comm	_CONTINUE,4,2                   ; @CONTINUE
l_.str.11:                              ; @.str.11
	.asciz	"xfer done\n"

l_.str.12:                              ; @.str.12
	.asciz	" >"

	.comm	_STOP,4,2                       ; @STOP
l_.str.13:                              ; @.str.13
	.asciz	"\n"

	.comm	_i2c_debug,4,2                  ; @i2c_debug
l_.str.14:                              ; @.str.14
	.asciz	" ERROR: %s\n"

	.comm	_str_i2c_status,8,3             ; @str_i2c_status
	.no_dead_strip	_saa7134_i2c_xfer
.subsections_via_symbols
