	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9015_write_reg_i2c
_af9015_write_reg_i2c:                  ## @af9015_write_reg_i2c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$64, %rsp
	movq	%rcx, -8(%rbp)
	movq	_WRITE_I2C@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movl	%esi, -48(%rbp)
	movl	%edx, -44(%rbp)
	movl	$1, -40(%rbp)
	movq	$1, -32(%rbp)
	movl	$1, -24(%rbp)
	leaq	-8(%rbp), %rax
	movl	%eax, -20(%rbp)
	movl	$0, -16(%rbp)
	movq	_af9015_af9013_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.1:
	cmpq	%rsi, 8(%rax)
	jne	LBB0_3
LBB0_2:
	movl	$3, -24(%rbp)
LBB0_3:
	leaq	-56(%rbp), %rsi
	callq	_af9015_ctrl_msg
	addq	$64, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE_I2C,4,2                  ## @WRITE_I2C
	.comm	_af9015_af9013_config,8,3       ## @af9015_af9013_config
	.no_dead_strip	_af9015_write_reg_i2c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9015_write_reg_i2c
_af9015_write_reg_i2c:                  ; @af9015_write_reg_i2c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	x3, [x29, #-8]
Lloh0:
	adrp	x8, _WRITE_I2C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WRITE_I2C@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	str	x8, [sp, #8]
	stp	w1, w2, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #24]
	str	x8, [sp, #32]
	sub	x9, x29, #8
	stp	w8, w9, [sp, #40]
	str	wzr, [sp, #48]
Lloh3:
	adrp	x8, _af9015_af9013_config@GOTPAGE
Lloh4:
	ldr	x8, [x8, _af9015_af9013_config@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cmp	x9, x1
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	cmp	x8, x1
	b.ne	LBB0_3
LBB0_2:
	mov	w8, #3
	str	w8, [sp, #40]
LBB0_3:
	add	x1, sp, #8
	bl	_af9015_ctrl_msg
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE_I2C,4,2                  ; @WRITE_I2C
	.comm	_af9015_af9013_config,8,3       ; @af9015_af9013_config
	.no_dead_strip	_af9015_write_reg_i2c
.subsections_via_symbols
