	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anx78xx_enable_interrupts
_anx78xx_enable_interrupts:             ## @anx78xx_enable_interrupts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_I2C_IDX_TX_P2@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_INT_CTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_regmap_write
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_COMMON_INT_MASK4_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SP_HPD_LOST@GOTPCREL(%rip), %rax
	movq	_SP_HPD_PLUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_regmap_write
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_DP_INT_MASK1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SP_TRAINING_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rax
	movq	_I2C_IDX_RX_P0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_INT_MASK1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SP_CKDT_CHG@GOTPCREL(%rip), %rax
	movq	_SP_SCDT_CHG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_regmap_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ## @I2C_IDX_TX_P2
	.comm	_SP_INT_CTRL_REG,4,2            ## @SP_INT_CTRL_REG
	.comm	_SP_COMMON_INT_MASK4_REG,4,2    ## @SP_COMMON_INT_MASK4_REG
	.comm	_SP_HPD_LOST,4,2                ## @SP_HPD_LOST
	.comm	_SP_HPD_PLUG,4,2                ## @SP_HPD_PLUG
	.comm	_SP_DP_INT_MASK1_REG,4,2        ## @SP_DP_INT_MASK1_REG
	.comm	_SP_TRAINING_FINISH,4,2         ## @SP_TRAINING_FINISH
	.comm	_I2C_IDX_RX_P0,8,3              ## @I2C_IDX_RX_P0
	.comm	_SP_INT_MASK1_REG,4,2           ## @SP_INT_MASK1_REG
	.comm	_SP_CKDT_CHG,4,2                ## @SP_CKDT_CHG
	.comm	_SP_SCDT_CHG,4,2                ## @SP_SCDT_CHG
	.no_dead_strip	_anx78xx_enable_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anx78xx_enable_interrupts
_anx78xx_enable_interrupts:             ; @anx78xx_enable_interrupts
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _I2C_IDX_TX_P2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _I2C_IDX_TX_P2@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
Lloh2:
	adrp	x8, _SP_INT_CTRL_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SP_INT_CTRL_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_regmap_write
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
Lloh5:
	adrp	x8, _SP_COMMON_INT_MASK4_REG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SP_COMMON_INT_MASK4_REG@GOTPAGEOFF]
Lloh7:
	adrp	x9, _SP_HPD_LOST@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SP_HPD_LOST@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _SP_HPD_PLUG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SP_HPD_PLUG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_regmap_write
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
Lloh14:
	adrp	x8, _SP_DP_INT_MASK1_REG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SP_DP_INT_MASK1_REG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _SP_TRAINING_FINISH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SP_TRAINING_FINISH@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_regmap_write
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh20:
	adrp	x8, _I2C_IDX_RX_P0@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I2C_IDX_RX_P0@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh22:
	ldr	x8, [x8]
	ldr	w0, [x9, x8, lsl #2]
Lloh23:
	adrp	x8, _SP_INT_MASK1_REG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SP_INT_MASK1_REG@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _SP_CKDT_CHG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SP_CKDT_CHG@GOTPAGEOFF]
Lloh28:
	adrp	x9, _SP_SCDT_CHG@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SP_SCDT_CHG@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_write
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ; @I2C_IDX_TX_P2
	.comm	_SP_INT_CTRL_REG,4,2            ; @SP_INT_CTRL_REG
	.comm	_SP_COMMON_INT_MASK4_REG,4,2    ; @SP_COMMON_INT_MASK4_REG
	.comm	_SP_HPD_LOST,4,2                ; @SP_HPD_LOST
	.comm	_SP_HPD_PLUG,4,2                ; @SP_HPD_PLUG
	.comm	_SP_DP_INT_MASK1_REG,4,2        ; @SP_DP_INT_MASK1_REG
	.comm	_SP_TRAINING_FINISH,4,2         ; @SP_TRAINING_FINISH
	.comm	_I2C_IDX_RX_P0,8,3              ; @I2C_IDX_RX_P0
	.comm	_SP_INT_MASK1_REG,4,2           ; @SP_INT_MASK1_REG
	.comm	_SP_CKDT_CHG,4,2                ; @SP_CKDT_CHG
	.comm	_SP_SCDT_CHG,4,2                ; @SP_SCDT_CHG
	.no_dead_strip	_anx78xx_enable_interrupts
.subsections_via_symbols
