	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qup_i2c_conf_count_v2
_qup_i2c_conf_count_v2:                 ## @qup_i2c_conf_count_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_I2C_MINI_CORE@GOTPCREL(%rip), %rax
	movq	_I2C_N_VAL_V2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	16(%rdi), %edi
	orl	(%rbx), %edi
	cmpq	$0, 32(%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_QUP_MX_WRITE_CNT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_QUP_MX_OUTPUT_CNT@GOTPCREL(%rip), %rcx
LBB0_3:
	orl	(%rax), %r14d
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movl	20(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.4:
	orl	(%rbx), %edi
	cmpq	$0, 24(%rbx)
	movq	8(%rbx), %rsi
	je	LBB0_7
## %bb.5:
	movq	_QUP_MX_INPUT_CNT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_QUP_NO_INPUT@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_9
LBB0_7:
	movq	_QUP_MX_READ_CNT@GOTPCREL(%rip), %rax
LBB0_6:
	addq	(%rax), %rsi
	callq	_writel
LBB0_9:
	movq	_QUP_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_MINI_CORE,4,2              ## @I2C_MINI_CORE
	.comm	_I2C_N_VAL_V2,4,2               ## @I2C_N_VAL_V2
	.comm	_QUP_MX_OUTPUT_CNT,8,3          ## @QUP_MX_OUTPUT_CNT
	.comm	_QUP_MX_WRITE_CNT,8,3           ## @QUP_MX_WRITE_CNT
	.comm	_QUP_MX_INPUT_CNT,8,3           ## @QUP_MX_INPUT_CNT
	.comm	_QUP_MX_READ_CNT,8,3            ## @QUP_MX_READ_CNT
	.comm	_QUP_NO_INPUT,4,2               ## @QUP_NO_INPUT
	.comm	_QUP_CONFIG,8,3                 ## @QUP_CONFIG
	.no_dead_strip	_qup_i2c_conf_count_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_count_v2
_qup_i2c_conf_count_v2:                 ; @qup_i2c_conf_count_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, _I2C_MINI_CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_MINI_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_N_VAL_V2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_N_VAL_V2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	x8, [x0, #32]
	ldr	w9, [x0]
	ldr	w10, [x0, #16]
	orr	w0, w10, w9
	ldr	x9, [x19, #8]
Lloh6:
	adrp	x10, _QUP_MX_WRITE_CNT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QUP_MX_WRITE_CNT@GOTPAGEOFF]
Lloh8:
	adrp	x11, _QUP_MX_OUTPUT_CNT@GOTPAGE
Lloh9:
	ldr	x11, [x11, _QUP_MX_OUTPUT_CNT@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x11, eq
	ldr	x8, [x8]
	add	x1, x8, x9
	bl	_writel
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #24]
	ldr	w10, [x19]
	orr	w0, w10, w8
	ldr	x8, [x19, #8]
	cbz	x9, LBB0_4
; %bb.2:
Lloh10:
	adrp	x9, _QUP_MX_INPUT_CNT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _QUP_MX_INPUT_CNT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _QUP_NO_INPUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QUP_NO_INPUT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w20, w8, w20
	b	LBB0_6
LBB0_4:
Lloh15:
	adrp	x9, _QUP_MX_READ_CNT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QUP_MX_READ_CNT@GOTPAGEOFF]
LBB0_5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_6:
	ldr	x8, [x19, #8]
Lloh17:
	adrp	x9, _QUP_CONFIG@GOTPAGE
Lloh18:
	ldr	x9, [x9, _QUP_CONFIG@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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_MINI_CORE,4,2              ; @I2C_MINI_CORE
	.comm	_I2C_N_VAL_V2,4,2               ; @I2C_N_VAL_V2
	.comm	_QUP_MX_OUTPUT_CNT,8,3          ; @QUP_MX_OUTPUT_CNT
	.comm	_QUP_MX_WRITE_CNT,8,3           ; @QUP_MX_WRITE_CNT
	.comm	_QUP_MX_INPUT_CNT,8,3           ; @QUP_MX_INPUT_CNT
	.comm	_QUP_MX_READ_CNT,8,3            ; @QUP_MX_READ_CNT
	.comm	_QUP_NO_INPUT,4,2               ; @QUP_NO_INPUT
	.comm	_QUP_CONFIG,8,3                 ; @QUP_CONFIG
	.no_dead_strip	_qup_i2c_conf_count_v2
.subsections_via_symbols
