	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anx78xx_aux_address
_anx78xx_aux_address:                   ## @anx78xx_aux_address
	.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	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_I2C_IDX_TX_P0@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_AUX_ADDR_7_0_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	callq	_regmap_write
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_AUX_ADDR_15_8_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bh, %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r14), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_AUX_ADDR_19_16_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SP_AUX_ADDR_19_16_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shrl	$16, %ebx
	andl	$15, %ebx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_IDX_TX_P0,8,3              ## @I2C_IDX_TX_P0
	.comm	_SP_AUX_ADDR_7_0_REG,4,2        ## @SP_AUX_ADDR_7_0_REG
	.comm	_SP_AUX_ADDR_15_8_REG,4,2       ## @SP_AUX_ADDR_15_8_REG
	.comm	_SP_AUX_ADDR_19_16_REG,4,2      ## @SP_AUX_ADDR_19_16_REG
	.comm	_SP_AUX_ADDR_19_16_MASK,4,2     ## @SP_AUX_ADDR_19_16_MASK
	.no_dead_strip	_anx78xx_aux_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anx78xx_aux_address
_anx78xx_aux_address:                   ; @anx78xx_aux_address
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _I2C_IDX_TX_P0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I2C_IDX_TX_P0@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh2:
	adrp	x8, _SP_AUX_ADDR_7_0_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SP_AUX_ADDR_7_0_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	and	w2, w19, #0xff
	bl	_regmap_write
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh5:
	adrp	x8, _SP_AUX_ADDR_15_8_REG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SP_AUX_ADDR_15_8_REG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ubfx	w2, w19, #8, #8
	bl	_regmap_write
	cbz	w0, LBB0_3
LBB0_2:
	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
	ret
LBB0_3:
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh8:
	adrp	x8, _SP_AUX_ADDR_19_16_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SP_AUX_ADDR_19_16_REG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _SP_AUX_ADDR_19_16_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SP_AUX_ADDR_19_16_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ubfx	w3, w19, #16, #4
	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	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_IDX_TX_P0,8,3              ; @I2C_IDX_TX_P0
	.comm	_SP_AUX_ADDR_7_0_REG,4,2        ; @SP_AUX_ADDR_7_0_REG
	.comm	_SP_AUX_ADDR_15_8_REG,4,2       ; @SP_AUX_ADDR_15_8_REG
	.comm	_SP_AUX_ADDR_19_16_REG,4,2      ; @SP_AUX_ADDR_19_16_REG
	.comm	_SP_AUX_ADDR_19_16_MASK,4,2     ; @SP_AUX_ADDR_19_16_MASK
	.no_dead_strip	_anx78xx_aux_address
.subsections_via_symbols
