	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qup_i2c_write_tx_fifo_v1
_qup_i2c_write_tx_fifo_v1:              ## @qup_i2c_write_tx_fifo_v1
	.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	%rdi, %r15
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_i2c_8bit_addr_from_msg
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	24(%r15), %r8
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	testq	%r8, %r8
	jne	LBB0_4
	jmp	LBB0_13
LBB0_2:
	movq	_QUP_TAG_START@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	24(%r15), %r8
	decq	%r8
	movq	%r8, 24(%r15)
	movl	$1, %r12d
	testq	%r8, %r8
	je	LBB0_13
LBB0_4:
	movq	_QUP_TAG_DATA@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_QUP_MSW_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %ebx
	orl	%eax, %ebx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_QUP_OUT_FIFO_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	(%r15), %ecx
	movq	24(%r15), %r8
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%ecx
	movl	%ecx, (%r15)
	incl	%r12d
	movl	%ebx, %eax
	decq	%r8
	movq	%r8, 24(%r15)
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	cmpl	%esi, %ecx
	jge	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%esi
	movq	%r13, %rdi
	cmpl	%esi, %ecx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_QUP_TAG_STOP@GOTPCREL(%rip), %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r14), %rbx
	movslq	%ecx, %rdx
	movl	(%rbx,%rdx,4), %ebx
	orl	(%rdi), %ebx
	testb	$1, %r12b
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%esi, %ecx
	je	LBB0_11
	jmp	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUP_TAG_START,4,2              ## @QUP_TAG_START
	.comm	_QUP_TAG_STOP,4,2               ## @QUP_TAG_STOP
	.comm	_QUP_TAG_DATA,4,2               ## @QUP_TAG_DATA
	.comm	_QUP_MSW_SHIFT,4,2              ## @QUP_MSW_SHIFT
	.comm	_QUP_OUT_FIFO_BASE,8,3          ## @QUP_OUT_FIFO_BASE
	.no_dead_strip	_qup_i2c_write_tx_fifo_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qup_i2c_write_tx_fifo_v1
_qup_i2c_write_tx_fifo_v1:              ; @qup_i2c_write_tx_fifo_v1
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
	mov	x0, x20
	bl	_i2c_8bit_addr_from_msg
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w22, #0
	mov	w10, #0
	ldr	x9, [x19, #24]
	cbnz	x9, LBB0_3
	b	LBB0_10
LBB0_2:
Lloh0:
	adrp	x9, _QUP_TAG_START@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QUP_TAG_START@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w10, w9, w0
	ldr	x9, [x19, #24]
	sub	x9, x9, #1
	str	x9, [x19, #24]
	mov	w22, #1
	cbz	x9, LBB0_10
LBB0_3:
Lloh3:
	adrp	x23, _QUP_TAG_STOP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _QUP_TAG_STOP@GOTPAGEOFF]
Lloh5:
	adrp	x24, _QUP_TAG_DATA@GOTPAGE
Lloh6:
	ldr	x24, [x24, _QUP_TAG_DATA@GOTPAGEOFF]
Lloh7:
	adrp	x25, _QUP_OUT_FIFO_BASE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _QUP_OUT_FIFO_BASE@GOTPAGEOFF]
Lloh9:
	adrp	x26, _QUP_MSW_SHIFT@GOTPAGE
Lloh10:
	ldr	x26, [x26, _QUP_MSW_SHIFT@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x26]
	lsl	w8, w21, w8
	orr	w21, w8, w10
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x25]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
	ldr	w8, [x19]
	ldr	x9, [x19, #24]
	mov	x10, x21
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w8, w8, #1
	str	w8, [x19]
	add	w22, w22, #1
	subs	x9, x9, #1
	str	x9, [x19, #24]
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x20]
	cmp	w8, w11
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w11, w11, #1
	cmp	w8, w11
	csel	x12, x23, x24, eq
	ldr	w12, [x12]
	ldr	x13, [x20, #8]
	ldr	w13, [x13, w8, sxtw #2]
	orr	w21, w13, w12
	tbnz	w22, #0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x10, x21
	cmp	w8, w11
	b.eq	LBB0_5
	b	LBB0_6
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QUP_TAG_START,4,2              ; @QUP_TAG_START
	.comm	_QUP_TAG_STOP,4,2               ; @QUP_TAG_STOP
	.comm	_QUP_TAG_DATA,4,2               ; @QUP_TAG_DATA
	.comm	_QUP_MSW_SHIFT,4,2              ; @QUP_MSW_SHIFT
	.comm	_QUP_OUT_FIFO_BASE,8,3          ; @QUP_OUT_FIFO_BASE
	.no_dead_strip	_qup_i2c_write_tx_fifo_v1
.subsections_via_symbols
