	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function altr_i2c_transfer
_altr_i2c_transfer:                     ## @altr_i2c_transfer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_ALTR_I2C_TFR_CMD_STO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	orl	%esi, %eax
	movq	_ALTR_I2C_TFR_CMD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALTR_I2C_TFR_CMD_STO,4,2       ## @ALTR_I2C_TFR_CMD_STO
	.comm	_ALTR_I2C_TFR_CMD,8,3           ## @ALTR_I2C_TFR_CMD
	.no_dead_strip	_altr_i2c_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function altr_i2c_transfer
_altr_i2c_transfer:                     ; @altr_i2c_transfer
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ALTR_I2C_TFR_CMD_STO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALTR_I2C_TFR_CMD_STO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	csel	w8, w8, wzr, eq
	orr	w8, w8, w1
	ldr	x9, [x0, #8]
Lloh3:
	adrp	x10, _ALTR_I2C_TFR_CMD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ALTR_I2C_TFR_CMD@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x1, x10, x9
	mov	x0, x8
	b	_writel
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALTR_I2C_TFR_CMD_STO,4,2       ; @ALTR_I2C_TFR_CMD_STO
	.comm	_ALTR_I2C_TFR_CMD,8,3           ; @ALTR_I2C_TFR_CMD
	.no_dead_strip	_altr_i2c_transfer
.subsections_via_symbols
