	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qup_i2c_conf_v1
_qup_i2c_conf_v1:                       ## @qup_i2c_conf_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
	movq	%rdi, %r12
	movq	_I2C_MINI_CORE@GOTPCREL(%rip), %rax
	movq	_I2C_N_VAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movq	_QUP_REPACK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%rdi), %rcx
	movq	48(%rdi), %rdx
	xorl	%esi, %esi
	cmpq	8(%rdi), %rdx
	setg	%sil
	xorl	%edx, %edx
	xorl	%edi, %edi
	cmpq	(%r12), %rcx
	setg	%dil
	movl	%edi, 24(%r12)
	movl	%esi, 40(%r12)
	movq	_QUP_OUTPUT_BLK_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	cmovlel	%edx, %r15d
	movq	_QUP_MX_WRITE_CNT@GOTPCREL(%rip), %rbx
	movq	_QUP_MX_OUTPUT_CNT@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	cmovgq	%rbx, %rdx
	cmovgq	%rcx, %rbx
	orl	%eax, %r15d
	movq	(%rdx), %rsi
	addq	16(%r12), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	32(%r12), %edi
	movq	(%rbx), %rsi
	addq	16(%r12), %rsi
	callq	_writel
	cmpq	$0, 48(%r12)
	je	LBB0_5
## %bb.1:
	cmpl	$0, 40(%r12)
	je	LBB0_3
## %bb.2:
	movq	_QUP_INPUT_BLK_MODE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_QUP_MX_READ_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r12), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	48(%r12), %edi
	movq	_QUP_MX_INPUT_CNT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_QUP_NO_INPUT@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_6
LBB0_3:
	movq	_QUP_MX_INPUT_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r12), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	48(%r12), %edi
	movq	_QUP_MX_READ_CNT@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rsi
	addq	16(%r12), %rsi
	callq	_writel
LBB0_6:
	movq	_QUP_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r12), %rsi
	movl	%r14d, %edi
	callq	_writel
	movq	_QUP_IO_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r12), %rsi
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_MINI_CORE,4,2              ## @I2C_MINI_CORE
	.comm	_I2C_N_VAL,4,2                  ## @I2C_N_VAL
	.comm	_QUP_REPACK_EN,4,2              ## @QUP_REPACK_EN
	.comm	_QUP_OUTPUT_BLK_MODE,4,2        ## @QUP_OUTPUT_BLK_MODE
	.comm	_QUP_MX_WRITE_CNT,8,3           ## @QUP_MX_WRITE_CNT
	.comm	_QUP_MX_OUTPUT_CNT,8,3          ## @QUP_MX_OUTPUT_CNT
	.comm	_QUP_INPUT_BLK_MODE,4,2         ## @QUP_INPUT_BLK_MODE
	.comm	_QUP_MX_READ_CNT,8,3            ## @QUP_MX_READ_CNT
	.comm	_QUP_MX_INPUT_CNT,8,3           ## @QUP_MX_INPUT_CNT
	.comm	_QUP_NO_INPUT,4,2               ## @QUP_NO_INPUT
	.comm	_QUP_CONFIG,8,3                 ## @QUP_CONFIG
	.comm	_QUP_IO_MODE,8,3                ## @QUP_IO_MODE
	.no_dead_strip	_qup_i2c_conf_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_v1
_qup_i2c_conf_v1:                       ; @qup_i2c_conf_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	x19, x0
Lloh0:
	adrp	x8, _I2C_MINI_CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_MINI_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_N_VAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_N_VAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	x8, [x0, #32]
	ldr	x9, [x0, #48]
	ldp	x10, x11, [x0]
	cmp	x9, x11
	cset	w9, gt
Lloh6:
	adrp	x11, _QUP_MX_WRITE_CNT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _QUP_MX_WRITE_CNT@GOTPAGEOFF]
Lloh8:
	adrp	x12, _QUP_MX_OUTPUT_CNT@GOTPAGE
Lloh9:
	ldr	x12, [x12, _QUP_MX_OUTPUT_CNT@GOTPAGEOFF]
	cmp	x8, x10
	csel	x8, x11, x12, gt
	cset	w10, gt
	str	w10, [x0, #24]
Lloh10:
	adrp	x10, _QUP_REPACK_EN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _QUP_REPACK_EN@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	str	w9, [x0, #40]
Lloh13:
	adrp	x9, _QUP_OUTPUT_BLK_MODE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _QUP_OUTPUT_BLK_MODE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	csel	w9, w9, wzr, gt
	orr	w21, w10, w9
	ldr	x9, [x0, #16]
	ldr	x8, [x8]
	add	x1, x8, x9
	csel	x22, x12, x11, gt
	mov	w0, #0
	bl	_writel
	ldr	w0, [x19, #32]
	ldr	x8, [x19, #16]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_4
; %bb.2:
Lloh16:
	adrp	x8, _QUP_INPUT_BLK_MODE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QUP_INPUT_BLK_MODE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w21, w8, w21
	ldr	x8, [x19, #16]
Lloh19:
	adrp	x9, _QUP_MX_READ_CNT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _QUP_MX_READ_CNT@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w0, [x19, #48]
	ldr	x8, [x19, #16]
Lloh22:
	adrp	x9, _QUP_MX_INPUT_CNT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _QUP_MX_INPUT_CNT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh24:
	adrp	x8, _QUP_NO_INPUT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _QUP_NO_INPUT@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w20, w8, w20
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19, #16]
Lloh27:
	adrp	x9, _QUP_MX_INPUT_CNT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _QUP_MX_INPUT_CNT@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w0, [x19, #48]
	ldr	x8, [x19, #16]
Lloh30:
	adrp	x9, _QUP_MX_READ_CNT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _QUP_MX_READ_CNT@GOTPAGEOFF]
LBB0_5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_6:
	ldr	x8, [x19, #16]
Lloh32:
	adrp	x9, _QUP_CONFIG@GOTPAGE
Lloh33:
	ldr	x9, [x9, _QUP_CONFIG@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
	ldr	x8, [x19, #16]
Lloh35:
	adrp	x9, _QUP_IO_MODE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _QUP_IO_MODE@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	add	x1, x9, x8
	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
	b	_writel
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_MINI_CORE,4,2              ; @I2C_MINI_CORE
	.comm	_I2C_N_VAL,4,2                  ; @I2C_N_VAL
	.comm	_QUP_REPACK_EN,4,2              ; @QUP_REPACK_EN
	.comm	_QUP_OUTPUT_BLK_MODE,4,2        ; @QUP_OUTPUT_BLK_MODE
	.comm	_QUP_MX_WRITE_CNT,8,3           ; @QUP_MX_WRITE_CNT
	.comm	_QUP_MX_OUTPUT_CNT,8,3          ; @QUP_MX_OUTPUT_CNT
	.comm	_QUP_INPUT_BLK_MODE,4,2         ; @QUP_INPUT_BLK_MODE
	.comm	_QUP_MX_READ_CNT,8,3            ; @QUP_MX_READ_CNT
	.comm	_QUP_MX_INPUT_CNT,8,3           ; @QUP_MX_INPUT_CNT
	.comm	_QUP_NO_INPUT,4,2               ; @QUP_NO_INPUT
	.comm	_QUP_CONFIG,8,3                 ; @QUP_CONFIG
	.comm	_QUP_IO_MODE,8,3                ; @QUP_IO_MODE
	.no_dead_strip	_qup_i2c_conf_v1
.subsections_via_symbols
