	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_edp_aux_irq                ## -- Begin function msm_edp_aux_irq
	.p2align	4, 0x90
_msm_edp_aux_irq:                       ## @msm_edp_aux_irq
	.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	_EDP_INTR_TRANS_STATUS@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	_REG_EDP_AUX_TRANS_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	xorl	%esi, %esi
	callq	_edp_write
	movq	_EDP_INTR_AUX_I2C_ERR@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	andl	(%rax), %ebx
	setne	%cl
	movl	%ecx, (%r14)
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_complete
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDP_INTR_TRANS_STATUS,4,2      ## @EDP_INTR_TRANS_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"isr=%x"

	.comm	_REG_EDP_AUX_TRANS_CTRL,8,3     ## @REG_EDP_AUX_TRANS_CTRL
	.comm	_EDP_INTR_AUX_I2C_ERR,4,2       ## @EDP_INTR_AUX_I2C_ERR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_edp_aux_irq                ; -- Begin function msm_edp_aux_irq
	.p2align	2
_msm_edp_aux_irq:                       ; @msm_edp_aux_irq
	.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
Lloh0:
	adrp	x8, _EDP_INTR_TRANS_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDP_INTR_TRANS_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _REG_EDP_AUX_TRANS_CTRL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REG_EDP_AUX_TRANS_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	bl	_edp_write
Lloh8:
	adrp	x8, _EDP_INTR_AUX_I2C_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EDP_INTR_AUX_I2C_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w8, ne
	str	w8, [x19]
	add	x0, x19, #4
	bl	_complete
LBB0_2:
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EDP_INTR_TRANS_STATUS,4,2      ; @EDP_INTR_TRANS_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"isr=%x"

	.comm	_REG_EDP_AUX_TRANS_CTRL,8,3     ; @REG_EDP_AUX_TRANS_CTRL
	.comm	_EDP_INTR_AUX_I2C_ERR,4,2       ; @EDP_INTR_AUX_I2C_ERR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
