	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qup_i2c_conf_xfer_v1
_qup_i2c_conf_xfer_v1:                  ## @qup_i2c_conf_xfer_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	addq	$28, %rdi
	callq	_qup_i2c_clear_blk_v1
	movq	%r15, %rdi
	callq	_qup_i2c_conf_v1
	movq	_QUP_RUN_STATE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_qup_i2c_change_state
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movl	24(%r15), %edi
	movq	_QUP_I2C_CLK_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r15), %rsi
	callq	_writel
	movq	_QUP_PAUSE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_qup_i2c_change_state
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	leaq	12(%r15), %rdi
	callq	_reinit_completion
	movl	(%r15), %edi
	callq	_enable_irq
	cmpl	$0, 32(%r15)
	jne	LBB0_6
## %bb.3:
	movl	8(%r15), %eax
	movl	%eax, 28(%r15)
	movq	%r15, %rdi
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	callq	_qup_i2c_write_rx_tags_v1
	jmp	LBB0_6
LBB0_5:
	callq	_qup_i2c_write_tx_fifo_v1
LBB0_6:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_qup_i2c_change_state
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movl	4(%r15), %esi
	movq	%r15, %rdi
	callq	_qup_i2c_wait_for_complete
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_ONE_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_qup_i2c_bus_active
	movl	%eax, %ebx
LBB0_9:
	movl	(%r15), %edi
	callq	_disable_irq
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUP_RUN_STATE,4,2              ## @QUP_RUN_STATE
	.comm	_QUP_I2C_CLK_CTL,8,3            ## @QUP_I2C_CLK_CTL
	.comm	_QUP_PAUSE_STATE,4,2            ## @QUP_PAUSE_STATE
	.comm	_ONE_BYTE,4,2                   ## @ONE_BYTE
	.no_dead_strip	_qup_i2c_conf_xfer_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_conf_xfer_v1
_qup_i2c_conf_xfer_v1:                  ; @qup_i2c_conf_xfer_v1
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	add	x0, x0, #28
	bl	_qup_i2c_clear_blk_v1
	mov	x0, x19
	bl	_qup_i2c_conf_v1
Lloh0:
	adrp	x22, _QUP_RUN_STATE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QUP_RUN_STATE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_qup_i2c_change_state
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.1:
	ldr	w0, [x19, #24]
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x9, _QUP_I2C_CLK_CTL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QUP_I2C_CLK_CTL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh5:
	adrp	x8, _QUP_PAUSE_STATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QUP_PAUSE_STATE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qup_i2c_change_state
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.2:
	add	x0, x19, #12
	bl	_reinit_completion
	ldr	w0, [x19]
	bl	_enable_irq
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_6
; %bb.3:
	ldr	w8, [x19, #8]
	str	w8, [x19, #28]
	mov	x0, x19
	cbz	w20, LBB0_5
; %bb.4:
	bl	_qup_i2c_write_rx_tags_v1
	b	LBB0_6
LBB0_5:
	bl	_qup_i2c_write_tx_fifo_v1
LBB0_6:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_qup_i2c_change_state
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	w1, [x19, #4]
	mov	x0, x19
	bl	_qup_i2c_wait_for_complete
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.8:
Lloh8:
	adrp	x8, _ONE_BYTE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ONE_BYTE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qup_i2c_bus_active
	mov	x21, x0
LBB0_9:
	ldr	w0, [x19]
	bl	_disable_irq
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_QUP_RUN_STATE,4,2              ; @QUP_RUN_STATE
	.comm	_QUP_I2C_CLK_CTL,8,3            ; @QUP_I2C_CLK_CTL
	.comm	_QUP_PAUSE_STATE,4,2            ; @QUP_PAUSE_STATE
	.comm	_ONE_BYTE,4,2                   ; @ONE_BYTE
	.no_dead_strip	_qup_i2c_conf_xfer_v1
.subsections_via_symbols
