	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_address
_try_address:                           ## @try_address
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	movl	%edx, %r13d
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movzbl	%sil, %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_i2c_outb
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	cmpl	$1, %eax
	sete	%al
	je	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, %r13d
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$3, %edi
	movq	%r15, %rsi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_bit_dbg
	movq	%r14, %rdi
	callq	_i2c_stop
	movl	(%r14), %edi
	callq	_udelay
	xorl	%eax, %eax
	callq	_yield
	movl	$3, %edi
	movq	%r15, %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_bit_dbg
	movq	%r14, %rdi
	callq	_i2c_start
	incl	%ebx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_i2c_outb
	movl	%eax, %r12d
	cmpl	$1, %eax
	sete	%al
	jne	LBB0_4
	jmp	LBB0_7
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_5:
	movl	%r13d, %ebx
LBB0_7:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.8:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:
	incl	%ebx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	testb	$1, %r9b
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	cmoveq	%rcx, %r8
	shrl	%r9d
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.6(%rip), %rdx
	testb	$1, %al
	cmovneq	%rcx, %rdx
	movq	%rdx, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_bit_dbg
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"emitting stop condition\n"

L_.str.1:                               ## @.str.1
	.asciz	"emitting start condition\n"

L_.str.2:                               ## @.str.2
	.asciz	"Used %d tries to %s client at 0x%02x: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"read from"

L_.str.4:                               ## @.str.4
	.asciz	"write to"

L_.str.5:                               ## @.str.5
	.asciz	"success"

L_.str.6:                               ## @.str.6
	.asciz	"failed, timeout?"

	.no_dead_strip	_try_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_address
_try_address:                           ; @try_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	tbnz	w2, #31, LBB0_5
; %bb.1:
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x0, #8]
	bl	_i2c_outb
	mov	x21, x0
	cmp	w0, #1
	cset	w8, eq
	mov	w26, #0
	b.eq	LBB0_7
; %bb.2:
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, w26
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #3
	mov	x1, x19
	mov	x2, x24
	bl	_bit_dbg
	mov	x0, x23
	bl	_i2c_stop
	ldr	w0, [x23]
	bl	_udelay
	bl	_yield
	mov	w0, #3
	mov	x1, x19
	mov	x2, x25
	bl	_bit_dbg
	mov	x0, x23
	bl	_i2c_start
	add	w26, w26, #1
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_outb
	mov	x21, x0
	cmp	w0, #1
	cset	w8, eq
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
	mov	w21, #0
	b	LBB0_10
LBB0_6:
	mov	x26, x22
LBB0_7:
	cbz	w26, LBB0_10
; %bb.8:
	cbz	w21, LBB0_10
; %bb.9:
Lloh4:
	adrp	x9, l_.str.3@PAGE
Lloh5:
	add	x9, x9, l_.str.3@PAGEOFF
	add	w10, w26, #1
Lloh6:
	adrp	x11, l_.str.4@PAGE
Lloh7:
	add	x11, x11, l_.str.4@PAGEOFF
	tst	w20, #0x1
	csel	x9, x11, x9, eq
	lsr	w11, w20, #1
Lloh8:
	adrp	x12, l_.str.6@PAGE
Lloh9:
	add	x12, x12, l_.str.6@PAGEOFF
Lloh10:
	adrp	x13, l_.str.5@PAGE
Lloh11:
	add	x13, x13, l_.str.5@PAGEOFF
	tst	w8, #0x1
	csel	x8, x13, x12, ne
	stp	x11, x8, [sp, #16]
	stp	x10, x9, [sp]
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x1, x19
	bl	_bit_dbg
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"emitting stop condition\n"

l_.str.1:                               ; @.str.1
	.asciz	"emitting start condition\n"

l_.str.2:                               ; @.str.2
	.asciz	"Used %d tries to %s client at 0x%02x: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"read from"

l_.str.4:                               ; @.str.4
	.asciz	"write to"

l_.str.5:                               ; @.str.5
	.asciz	"success"

l_.str.6:                               ; @.str.6
	.asciz	"failed, timeout?"

	.no_dead_strip	_try_address
.subsections_via_symbols
