	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anx78xx_intp_threaded_handler
_anx78xx_intp_threaded_handler:         ## @anx78xx_intp_threaded_handler
	.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, %rbx
	leaq	4(%rsi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%rbx), %rax
	movq	_I2C_IDX_TX_P2@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_DP_INT_STATUS1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movl	-28(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_anx78xx_handle_dp_int_1
LBB0_5:
	movq	8(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_COMMON_INT_STATUS4_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	movl	%eax, %esi
	callq	_DRM_ERROR
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_17:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-28(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.9:
	movq	%rbx, %rdi
	callq	_anx78xx_handle_common_int_4
	movl	%eax, %r15d
	cmpl	$0, 16(%rbx)
	jne	LBB0_11
	jmp	LBB0_15
LBB0_8:
	xorl	%r15d, %r15d
	cmpl	$0, 16(%rbx)
	je	LBB0_15
LBB0_11:
	movq	8(%rbx), %rax
	movq	_I2C_IDX_RX_P0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_INT_STATUS1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_ERROR
	jmp	LBB0_15
LBB0_13:
	movl	-28(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_anx78xx_handle_hdmi_int_1
LBB0_15:
	movq	%r14, %rdi
	callq	_mutex_unlock
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.16:
	movl	(%rbx), %edi
	callq	_drm_helper_hpd_irq_event
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ## @I2C_IDX_TX_P2
	.comm	_SP_DP_INT_STATUS1_REG,4,2      ## @SP_DP_INT_STATUS1_REG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read DP interrupt 1 status: %d\n"

	.comm	_SP_COMMON_INT_STATUS4_REG,4,2  ## @SP_COMMON_INT_STATUS4_REG
L_.str.1:                               ## @.str.1
	.asciz	"Failed to read common interrupt 4 status: %d\n"

	.comm	_I2C_IDX_RX_P0,8,3              ## @I2C_IDX_RX_P0
	.comm	_SP_INT_STATUS1_REG,4,2         ## @SP_INT_STATUS1_REG
L_.str.2:                               ## @.str.2
	.asciz	"Failed to read HDMI int 1 status: %d\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_anx78xx_intp_threaded_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anx78xx_intp_threaded_handler
_anx78xx_intp_threaded_handler:         ; @anx78xx_intp_threaded_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	add	x19, x1, #4
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x21, _I2C_IDX_TX_P2@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I2C_IDX_TX_P2@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh2:
	adrp	x8, _SP_DP_INT_STATUS1_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SP_DP_INT_STATUS1_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	ldr	w1, [sp, #12]
	cbz	w1, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_anx78xx_handle_dp_int_1
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh7:
	adrp	x8, _SP_COMMON_INT_STATUS4_REG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SP_COMMON_INT_STATUS4_REG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbz	w0, LBB0_8
; %bb.5:
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	_DRM_ERROR
	mov	x0, x19
	bl	_mutex_unlock
LBB0_7:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	ldr	w1, [sp, #12]
	cbz	w1, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_anx78xx_handle_common_int_4
	mov	x21, x0
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_11
	b	LBB0_15
LBB0_10:
	mov	w21, #0
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_15
LBB0_11:
	ldr	x8, [x20, #8]
Lloh15:
	adrp	x9, _I2C_IDX_RX_P0@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I2C_IDX_RX_P0@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
Lloh18:
	adrp	x8, _SP_INT_STATUS1_REG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SP_INT_STATUS1_REG@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbz	w0, LBB0_13
; %bb.12:
	mov	x1, x0
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_15
LBB0_13:
	ldr	w1, [sp, #12]
	cbz	w1, LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_anx78xx_handle_hdmi_int_1
LBB0_15:
	mov	x0, x19
	bl	_mutex_unlock
	cbz	w21, LBB0_7
; %bb.16:
	ldr	w0, [x20]
	bl	_drm_helper_hpd_irq_event
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ; @I2C_IDX_TX_P2
	.comm	_SP_DP_INT_STATUS1_REG,4,2      ; @SP_DP_INT_STATUS1_REG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read DP interrupt 1 status: %d\n"

	.comm	_SP_COMMON_INT_STATUS4_REG,4,2  ; @SP_COMMON_INT_STATUS4_REG
l_.str.1:                               ; @.str.1
	.asciz	"Failed to read common interrupt 4 status: %d\n"

	.comm	_I2C_IDX_RX_P0,8,3              ; @I2C_IDX_RX_P0
	.comm	_SP_INT_STATUS1_REG,4,2         ; @SP_INT_STATUS1_REG
l_.str.2:                               ; @.str.2
	.asciz	"Failed to read HDMI int 1 status: %d\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_anx78xx_intp_threaded_handler
.subsections_via_symbols
