	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_outb
_i2c_outb:                              ## @i2c_outb
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	movl	$7, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	btl	%ebx, %r15d
	setb	%sil
	movq	%r13, %rdi
	callq	_setsda
	movl	(%r13), %eax
	movl	%eax, %ecx
	incl	%ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %edi
	incl	%edi
	sarl	%edi
	callq	_udelay
	movq	%r13, %rdi
	callq	_sclhi
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_scllo
	addl	$-1, %ebx
	jb	LBB0_1
## %bb.4:
	movq	%r13, %rdi
	callq	_sdahi
	movq	%r13, %rdi
	callq	_sclhi
	testq	%rax, %rax
	js	LBB0_5
## %bb.7:
	movq	%r13, %rdi
	callq	_getsda
	xorl	%r12d, %r12d
	testl	%eax, %eax
	sete	%r12b
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str.2(%rip), %rdx
	movl	$2, %edi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_bit_dbg
	movq	%r13, %rdi
	callq	_scllo
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rdx
	xorl	%r12d, %r12d
	movl	$1, %edi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_bit_dbg
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdx
	xorl	%r12d, %r12d
	movl	$1, %edi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_bit_dbg
LBB0_6:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %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	"i2c_outb: 0x%02x, timeout at bit #%d\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
L_.str.1:                               ## @.str.1
	.asciz	"i2c_outb: 0x%02x, timeout at ack\n"

L_.str.2:                               ## @.str.2
	.asciz	"i2c_outb: 0x%02x %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"A"

L_.str.4:                               ## @.str.4
	.asciz	"NA"

	.no_dead_strip	_i2c_outb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_outb
_i2c_outb:                              ; @i2c_outb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	mov	w22, #7
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w19, w22
	and	w1, w8, #0x1
	mov	x0, x21
	bl	_setsda
	ldr	w8, [x21]
	add	w9, w8, #1
	add	w10, w8, #2
	cmp	w9, #0
	csinc	w8, w10, w8, lt
	asr	w0, w8, #1
	bl	_udelay
	mov	x0, x21
	bl	_sclhi
	tbnz	x0, #63, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_scllo
	sub	w22, w22, #1
	cmn	w22, #1
	b.ne	LBB0_1
; %bb.3:
	mov	x0, x21
	bl	_sdahi
	mov	x0, x21
	bl	_sclhi
	tbnz	x0, #63, LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_getsda
	cmp	w0, #0
	cset	w22, eq
Lloh0:
	adrp	x8, l_.str.4@PAGE
Lloh1:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh2:
	adrp	x9, l_.str.3@PAGE
Lloh3:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #2
	mov	x1, x20
	mov	x3, x19
	bl	_bit_dbg
	mov	x0, x21
	bl	_scllo
	b	LBB0_8
LBB0_5:
	str	x22, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_bit_dbg
Lloh10:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i2c_outb: 0x%02x, timeout at bit #%d\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
l_.str.1:                               ; @.str.1
	.asciz	"i2c_outb: 0x%02x, timeout at ack\n"

l_.str.2:                               ; @.str.2
	.asciz	"i2c_outb: 0x%02x %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"A"

l_.str.4:                               ; @.str.4
	.asciz	"NA"

	.no_dead_strip	_i2c_outb
.subsections_via_symbols
