	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axxia_i2c_set_addr
_axxia_i2c_set_addr:                    ## @axxia_i2c_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_i2c_m_ten
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %ebx
	shrl	$7, %ebx
	andl	$6, %ebx
	movq	%r15, %rdi
	callq	_i2c_m_rd
	cmpq	$1, %rax
	sbbl	$0, %ebx
	addl	$241, %ebx
	movzbl	(%r15), %r15d
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_i2c_8bit_addr_from_msg
	movl	%eax, %ebx
	xorl	%r15d, %r15d
LBB0_3:
	movq	_MST_ADDR_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_MST_ADDR_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MST_ADDR_1,8,3                 ## @MST_ADDR_1
	.comm	_MST_ADDR_2,8,3                 ## @MST_ADDR_2
	.no_dead_strip	_axxia_i2c_set_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axxia_i2c_set_addr
_axxia_i2c_set_addr:                    ; @axxia_i2c_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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_i2c_m_ten
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	lsr	w8, w8, #7
	and	w21, w8, #0x6
	mov	x0, x20
	bl	_i2c_m_rd
	cmp	x0, #0
	mov	w8, #240
	cinc	w8, w8, ne
	orr	w0, w8, w21
	ldrb	w20, [x20]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_i2c_8bit_addr_from_msg
	mov	w20, #0
LBB0_3:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _MST_ADDR_1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MST_ADDR_1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _MST_ADDR_2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MST_ADDR_2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	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	_writel
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MST_ADDR_1,8,3                 ; @MST_ADDR_1
	.comm	_MST_ADDR_2,8,3                 ; @MST_ADDR_2
	.no_dead_strip	_axxia_i2c_set_addr
.subsections_via_symbols
