	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_i2c_pio_trigger_write_cmd
_mxs_i2c_pio_trigger_write_cmd:         ## @mxs_i2c_pio_trigger_write_cmd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %eax
	movq	%rdi, %r15
	movq	_MXS_I2C_CTRL0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rdi), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	(%r15), %rax
	movq	_MXS_I2C_V1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_MXS_I2C_CTRL0_PIO_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MXS_I2C_CTRL0_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	callq	_writel
LBB0_2:
	movq	8(%r15), %rbx
	movq	%r15, %rdi
	callq	_MXS_I2C_DATA
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	_MXS_I2C_CTRL0_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MXS_I2C_CTRL0_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MXS_I2C_CTRL0,8,3              ## @MXS_I2C_CTRL0
	.comm	_MXS_I2C_V1,8,3                 ## @MXS_I2C_V1
	.comm	_MXS_I2C_CTRL0_PIO_MODE,4,2     ## @MXS_I2C_CTRL0_PIO_MODE
	.comm	_MXS_I2C_CTRL0_SET,8,3          ## @MXS_I2C_CTRL0_SET
	.comm	_MXS_I2C_CTRL0_RUN,4,2          ## @MXS_I2C_CTRL0_RUN
	.no_dead_strip	_mxs_i2c_pio_trigger_write_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_i2c_pio_trigger_write_cmd
_mxs_i2c_pio_trigger_write_cmd:         ; @mxs_i2c_pio_trigger_write_cmd
	.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, x2
	mov	x8, x1
	mov	x19, x0
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _MXS_I2C_CTRL0@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MXS_I2C_CTRL0@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x1, x10, x9
	mov	x0, x8
	bl	_writel
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _MXS_I2C_V1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MXS_I2C_V1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x21, _MXS_I2C_CTRL0_SET@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MXS_I2C_CTRL0_SET@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _MXS_I2C_CTRL0_PIO_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MXS_I2C_CTRL0_PIO_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
LBB0_2:
	ldr	x22, [x19, #8]
	mov	x0, x19
	bl	_MXS_I2C_DATA
	add	x1, x0, x22
	mov	x0, x20
	bl	_writel
Lloh11:
	adrp	x8, _MXS_I2C_CTRL0_RUN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MXS_I2C_CTRL0_RUN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MXS_I2C_CTRL0,8,3              ; @MXS_I2C_CTRL0
	.comm	_MXS_I2C_V1,8,3                 ; @MXS_I2C_V1
	.comm	_MXS_I2C_CTRL0_PIO_MODE,4,2     ; @MXS_I2C_CTRL0_PIO_MODE
	.comm	_MXS_I2C_CTRL0_SET,8,3          ; @MXS_I2C_CTRL0_SET
	.comm	_MXS_I2C_CTRL0_RUN,4,2          ; @MXS_I2C_CTRL0_RUN
	.no_dead_strip	_mxs_i2c_pio_trigger_write_cmd
.subsections_via_symbols
