	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axxia_i2c_reg_slave
_axxia_i2c_reg_slave:                   ## @axxia_i2c_reg_slave
	.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
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_i2c_get_adapdata
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_2:
	movq	%rax, %r12
	movq	_SLV_STATUS_RFH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, 8(%r12)
	movq	_GLOBAL_MST_EN@GOTPCREL(%rip), %rax
	movq	_GLOBAL_SLV_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_GLOBAL_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel
	movq	_INT_MST@GOTPCREL(%rip), %rax
	movq	_INT_SLV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel
	movq	_SLV_ADDR_DEC_SA1E@GOTPCREL(%rip), %rax
	movq	_I2C_CLIENT_TEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	(%r15), %ebx
	je	LBB0_4
## %bb.3:
	movq	_SLV_ADDR_DEC_SA1M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_4:
	orl	(%rax), %ebx
	movq	_SLV_RX_ACSA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SLV_RX_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel
	movq	_SLV_ADDR_DEC_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	4(%r15), %edi
	movq	_SLV_ADDR_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel
	movq	_SLV_STATUS_SRS1@GOTPCREL(%rip), %rax
	movq	_SLV_STATUS_SRRS1@GOTPCREL(%rip), %rcx
	movq	_SLV_STATUS_SRND1@GOTPCREL(%rip), %rdx
	movq	_SLV_STATUS_SRC1@GOTPCREL(%rip), %rsi
	orl	(%rax), %r14d
	orl	(%rcx), %r14d
	orl	(%rdx), %r14d
	orl	(%rsi), %r14d
	movq	_SLV_INT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	movl	%r14d, %edi
	callq	_writel
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLV_STATUS_RFH,4,2             ## @SLV_STATUS_RFH
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_GLOBAL_MST_EN,4,2              ## @GLOBAL_MST_EN
	.comm	_GLOBAL_SLV_EN,4,2              ## @GLOBAL_SLV_EN
	.comm	_GLOBAL_CONTROL,8,3             ## @GLOBAL_CONTROL
	.comm	_INT_MST,4,2                    ## @INT_MST
	.comm	_INT_SLV,4,2                    ## @INT_SLV
	.comm	_INTERRUPT_ENABLE,8,3           ## @INTERRUPT_ENABLE
	.comm	_SLV_ADDR_DEC_SA1E,4,2          ## @SLV_ADDR_DEC_SA1E
	.comm	_I2C_CLIENT_TEN,4,2             ## @I2C_CLIENT_TEN
	.comm	_SLV_ADDR_DEC_SA1M,4,2          ## @SLV_ADDR_DEC_SA1M
	.comm	_SLV_RX_ACSA1,4,2               ## @SLV_RX_ACSA1
	.comm	_SLV_RX_CTL,8,3                 ## @SLV_RX_CTL
	.comm	_SLV_ADDR_DEC_CTL,8,3           ## @SLV_ADDR_DEC_CTL
	.comm	_SLV_ADDR_1,8,3                 ## @SLV_ADDR_1
	.comm	_SLV_STATUS_SRS1,4,2            ## @SLV_STATUS_SRS1
	.comm	_SLV_STATUS_SRRS1,4,2           ## @SLV_STATUS_SRRS1
	.comm	_SLV_STATUS_SRND1,4,2           ## @SLV_STATUS_SRND1
	.comm	_SLV_STATUS_SRC1,4,2            ## @SLV_STATUS_SRC1
	.comm	_SLV_INT_ENABLE,8,3             ## @SLV_INT_ENABLE
	.no_dead_strip	_axxia_i2c_reg_slave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axxia_i2c_reg_slave
_axxia_i2c_reg_slave:                   ; @axxia_i2c_reg_slave
	.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, x0
	ldr	w0, [x0, #8]
	bl	_i2c_get_adapdata
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x8, _SLV_STATUS_RFH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLV_STATUS_RFH@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	str	x20, [x0, #8]
Lloh6:
	adrp	x8, _GLOBAL_MST_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLOBAL_MST_EN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _GLOBAL_SLV_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GLOBAL_SLV_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _GLOBAL_CONTROL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GLOBAL_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh15:
	adrp	x8, _INT_MST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INT_MST@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _INT_SLV@GOTPAGE
Lloh19:
	ldr	x9, [x9, _INT_SLV@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _INTERRUPT_ENABLE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh24:
	adrp	x8, _SLV_ADDR_DEC_SA1E@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SLV_ADDR_DEC_SA1E@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x20]
Lloh27:
	adrp	x10, _I2C_CLIENT_TEN@GOTPAGE
Lloh28:
	ldr	x10, [x10, _I2C_CLIENT_TEN@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
Lloh30:
	adrp	x11, _SLV_ADDR_DEC_SA1M@GOTPAGE
Lloh31:
	ldr	x11, [x11, _SLV_ADDR_DEC_SA1M@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w21, w9, w8
Lloh33:
	adrp	x8, _SLV_RX_ACSA1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SLV_RX_ACSA1@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh36:
	adrp	x9, _SLV_RX_CTL@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SLV_RX_CTL@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh39:
	adrp	x9, _SLV_ADDR_DEC_CTL@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SLV_ADDR_DEC_CTL@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
	ldr	w0, [x20, #4]
	ldr	x8, [x19]
Lloh42:
	adrp	x9, _SLV_ADDR_1@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SLV_ADDR_1@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh45:
	adrp	x8, _SLV_STATUS_SRS1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SLV_STATUS_SRS1@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _SLV_STATUS_SRRS1@GOTPAGE
Lloh49:
	ldr	x9, [x9, _SLV_STATUS_SRRS1@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
Lloh51:
	adrp	x10, _SLV_STATUS_SRND1@GOTPAGE
Lloh52:
	ldr	x10, [x10, _SLV_STATUS_SRND1@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
Lloh54:
	adrp	x11, _SLV_STATUS_SRC1@GOTPAGE
Lloh55:
	ldr	x11, [x11, _SLV_STATUS_SRC1@GOTPAGEOFF]
Lloh56:
	ldr	w11, [x11]
	orr	w8, w8, w22
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w0, w8, w11
	ldr	x8, [x19]
Lloh57:
	adrp	x9, _SLV_INT_ENABLE@GOTPAGE
Lloh58:
	ldr	x9, [x9, _SLV_INT_ENABLE@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_SLV_STATUS_RFH,4,2             ; @SLV_STATUS_RFH
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_GLOBAL_MST_EN,4,2              ; @GLOBAL_MST_EN
	.comm	_GLOBAL_SLV_EN,4,2              ; @GLOBAL_SLV_EN
	.comm	_GLOBAL_CONTROL,8,3             ; @GLOBAL_CONTROL
	.comm	_INT_MST,4,2                    ; @INT_MST
	.comm	_INT_SLV,4,2                    ; @INT_SLV
	.comm	_INTERRUPT_ENABLE,8,3           ; @INTERRUPT_ENABLE
	.comm	_SLV_ADDR_DEC_SA1E,4,2          ; @SLV_ADDR_DEC_SA1E
	.comm	_I2C_CLIENT_TEN,4,2             ; @I2C_CLIENT_TEN
	.comm	_SLV_ADDR_DEC_SA1M,4,2          ; @SLV_ADDR_DEC_SA1M
	.comm	_SLV_RX_ACSA1,4,2               ; @SLV_RX_ACSA1
	.comm	_SLV_RX_CTL,8,3                 ; @SLV_RX_CTL
	.comm	_SLV_ADDR_DEC_CTL,8,3           ; @SLV_ADDR_DEC_CTL
	.comm	_SLV_ADDR_1,8,3                 ; @SLV_ADDR_1
	.comm	_SLV_STATUS_SRS1,4,2            ; @SLV_STATUS_SRS1
	.comm	_SLV_STATUS_SRRS1,4,2           ; @SLV_STATUS_SRRS1
	.comm	_SLV_STATUS_SRND1,4,2           ; @SLV_STATUS_SRND1
	.comm	_SLV_STATUS_SRC1,4,2            ; @SLV_STATUS_SRC1
	.comm	_SLV_INT_ENABLE,8,3             ; @SLV_INT_ENABLE
	.no_dead_strip	_axxia_i2c_reg_slave
.subsections_via_symbols
