	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx2967_set_addr
_zx2967_set_addr:                       ## @zx2967_set_addr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_I2C_ADDR_LOW_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	movq	_I2C_ADDR_LOW_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_REG_DEVADDR_L@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_zx2967_i2c_writel
	movq	_I2C_ADDR_HI_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movq	_I2C_ADDR_HI_MASK@GOTPCREL(%rip), %rax
	movq	_REG_DEVADDR_H@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rax), %r15d
	movl	%ebx, %esi
	andl	%r15d, %esi
	movq	%r14, %rdi
	callq	_zx2967_i2c_writel
	movq	_REG_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_zx2967_i2c_readl
	movq	_I2C_ADDR_MODE_TEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	andl	%r15d, %ebx
	cmovnel	%ecx, %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zx2967_i2c_writel              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_ADDR_LOW_SHIFT,4,2         ## @I2C_ADDR_LOW_SHIFT
	.comm	_I2C_ADDR_LOW_MASK,4,2          ## @I2C_ADDR_LOW_MASK
	.comm	_REG_DEVADDR_L,4,2              ## @REG_DEVADDR_L
	.comm	_I2C_ADDR_HI_SHIFT,4,2          ## @I2C_ADDR_HI_SHIFT
	.comm	_I2C_ADDR_HI_MASK,4,2           ## @I2C_ADDR_HI_MASK
	.comm	_REG_DEVADDR_H,4,2              ## @REG_DEVADDR_H
	.comm	_REG_CMD,4,2                    ## @REG_CMD
	.comm	_I2C_ADDR_MODE_TEN,4,2          ## @I2C_ADDR_MODE_TEN
	.no_dead_strip	_zx2967_set_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx2967_set_addr
_zx2967_set_addr:                       ; @zx2967_set_addr
	.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
Lloh0:
	adrp	x8, _I2C_ADDR_LOW_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_ADDR_LOW_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_ADDR_LOW_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_ADDR_LOW_MASK@GOTPAGEOFF]
	asr	w8, w1, w8
Lloh5:
	ldr	w9, [x9]
	and	w1, w8, w9
Lloh6:
	adrp	x8, _REG_DEVADDR_L@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_DEVADDR_L@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_zx2967_i2c_writel
Lloh9:
	adrp	x8, _I2C_ADDR_HI_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2C_ADDR_HI_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	asr	w19, w19, w8
Lloh12:
	adrp	x8, _I2C_ADDR_HI_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I2C_ADDR_HI_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _REG_DEVADDR_H@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_DEVADDR_H@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ands	w1, w19, w21
	mov	x0, x20
	bl	_zx2967_i2c_writel
Lloh18:
	adrp	x22, _REG_CMD@GOTPAGE
Lloh19:
	ldr	x22, [x22, _REG_CMD@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_zx2967_i2c_readl
	tst	w19, w21
Lloh20:
	adrp	x8, _I2C_ADDR_MODE_TEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I2C_ADDR_MODE_TEN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	csel	w1, w8, w9, eq
	ldr	w2, [x22]
	mov	x0, x20
	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	_zx2967_i2c_writel
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_ADDR_LOW_SHIFT,4,2         ; @I2C_ADDR_LOW_SHIFT
	.comm	_I2C_ADDR_LOW_MASK,4,2          ; @I2C_ADDR_LOW_MASK
	.comm	_REG_DEVADDR_L,4,2              ; @REG_DEVADDR_L
	.comm	_I2C_ADDR_HI_SHIFT,4,2          ; @I2C_ADDR_HI_SHIFT
	.comm	_I2C_ADDR_HI_MASK,4,2           ; @I2C_ADDR_HI_MASK
	.comm	_REG_DEVADDR_H,4,2              ; @REG_DEVADDR_H
	.comm	_REG_CMD,4,2                    ; @REG_CMD
	.comm	_I2C_ADDR_MODE_TEN,4,2          ; @I2C_ADDR_MODE_TEN
	.no_dead_strip	_zx2967_set_addr
.subsections_via_symbols
