	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qup_i2c_conf_mode_v2
_qup_i2c_conf_mode_v2:                  ## @qup_i2c_conf_mode_v2
	.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, %r14
	movq	_QUP_REPACK_EN@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	$0, 16(%rdi)
	movq	_QUP_OUTPUT_BLK_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_QUP_MX_WRITE_CNT@GOTPCREL(%rip), %rcx
	cmoveq	_QUP_MX_OUTPUT_CNT@GOTPCREL(%rip), %rcx
	cmovel	%r15d, %r12d
	orl	(%rax), %r12d
	movq	(%rcx), %rsi
	addq	(%rdi), %rsi
	xorl	%edi, %edi
	callq	_writel
	cmpq	$0, 8(%r14)
	movq	_QUP_INPUT_BLK_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmovel	%r15d, %ebx
	movq	_QUP_MX_READ_CNT@GOTPCREL(%rip), %rax
	cmoveq	_QUP_MX_INPUT_CNT@GOTPCREL(%rip), %rax
	orl	%r12d, %ebx
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_QUP_IO_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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_IO_MODE,8,3                ## @QUP_IO_MODE
	.no_dead_strip	_qup_i2c_conf_mode_v2
.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_mode_v2
_qup_i2c_conf_mode_v2:                  ; @qup_i2c_conf_mode_v2
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _QUP_REPACK_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QUP_REPACK_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0, #16]
Lloh3:
	adrp	x10, _QUP_OUTPUT_BLK_MODE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QUP_OUTPUT_BLK_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _QUP_MX_OUTPUT_CNT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _QUP_MX_OUTPUT_CNT@GOTPAGEOFF]
Lloh8:
	adrp	x12, _QUP_MX_WRITE_CNT@GOTPAGE
Lloh9:
	ldr	x12, [x12, _QUP_MX_WRITE_CNT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x12, eq
	csel	w10, wzr, w10, eq
	orr	w20, w8, w10
	ldr	x8, [x0]
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
Lloh10:
	adrp	x8, _QUP_INPUT_BLK_MODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QUP_INPUT_BLK_MODE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldp	x10, x9, [x19]
Lloh13:
	adrp	x11, _QUP_MX_INPUT_CNT@GOTPAGE
Lloh14:
	ldr	x11, [x11, _QUP_MX_INPUT_CNT@GOTPAGEOFF]
Lloh15:
	adrp	x12, _QUP_MX_READ_CNT@GOTPAGE
Lloh16:
	ldr	x12, [x12, _QUP_MX_READ_CNT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x12, eq
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	ldr	x8, [x9]
	add	x1, x8, x10
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _QUP_IO_MODE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _QUP_IO_MODE@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.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_IO_MODE,8,3                ; @QUP_IO_MODE
	.no_dead_strip	_qup_i2c_conf_mode_v2
.subsections_via_symbols
