	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_i2c_bit_sendbytes
_snd_i2c_bit_sendbytes:                 ## @snd_i2c_bit_sendbytes
	.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	_SND_I2C_DEVICE_ADDRTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_2:
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_snd_i2c_bit_start
	movl	4(%rbx), %esi
	addl	%esi, %esi
	movq	%r12, %rdi
	callq	_snd_i2c_bit_sendbyte
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	testl	%r13d, %r13d
	jle	LBB0_4
## %bb.5:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%r15), %esi
	movq	%r12, %rdi
	callq	_snd_i2c_bit_sendbyte
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	cmpl	%r15d, %r13d
	jne	LBB0_6
## %bb.9:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_7:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_snd_i2c_bit_hw_stop
	jmp	LBB0_11
LBB0_4:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%r12, %rdi
	callq	_snd_i2c_bit_stop
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_I2C_DEVICE_ADDRTEN,4,2     ## @SND_I2C_DEVICE_ADDRTEN
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_snd_i2c_bit_sendbytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_i2c_bit_sendbytes
_snd_i2c_bit_sendbytes:                 ; @snd_i2c_bit_sendbytes
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SND_I2C_DEVICE_ADDRTEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SND_I2C_DEVICE_ADDRTEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_10
LBB0_2:
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_snd_i2c_bit_start
	ldr	w8, [x22, #4]
	lsl	w1, w8, #1
	mov	x0, x20
	bl	_snd_i2c_bit_sendbyte
	tbnz	w0, #31, LBB0_7
; %bb.3:
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x23, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x21]
	mov	x0, x20
	bl	_snd_i2c_bit_sendbyte
	tbnz	w0, #31, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	subs	w23, w23, #1
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:
	mov	x22, x0
	mov	x0, x20
	bl	_snd_i2c_bit_hw_stop
	mov	x19, x22
	b	LBB0_10
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x20
	bl	_snd_i2c_bit_stop
LBB0_10:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_I2C_DEVICE_ADDRTEN,4,2     ; @SND_I2C_DEVICE_ADDRTEN
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_snd_i2c_bit_sendbytes
.subsections_via_symbols
