	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_irq_handler
_hdmi_irq_handler:                      ## @hdmi_irq_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	leaq	4(%rsi), %r15
	movq	%r15, %rdi
	callq	_hdmi_wp_get_irqstatus
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_hdmi_wp_set_irqstatus
	movq	_HDMI_IRQ_LINK_CONNECT@GOTPCREL(%rip), %r12
	movq	_HDMI_IRQ_LINK_DISCONNECT@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%ebx, (%r12)
	je	LBB0_4
## %bb.1:
	testl	%ebx, %eax
	je	LBB0_3
## %bb.2:
	movq	_HDMI_PHYPWRCMD_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_hdmi_wp_set_phy_pwr
	movl	(%r14), %edi
	movq	_HDMI_TXPHY_PAD_CFG_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_hdmi_read_reg
	movl	%eax, %edi
	movl	$1, %esi
	movl	$15, %edx
	movl	$15, %ecx
	callq	_FLD_MOD
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$14, %edx
	movl	$7, %ecx
	callq	_FLD_MOD
	movl	(%r14), %edi
	movl	(%rbx), %esi
	movl	%eax, %edx
	callq	_hdmi_write_reg
	movl	(%r13), %esi
	orl	(%r12), %esi
	movq	%r15, %rdi
	callq	_hdmi_wp_set_irqstatus
	movq	_HDMI_PHYPWRCMD_LDOON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_hdmi_wp_set_phy_pwr
	movl	(%r14), %edi
	movl	(%rbx), %esi
	xorl	%edx, %edx
	movl	$15, %ecx
	movl	$15, %r8d
	callq	_REG_FLD_MOD
	jmp	LBB0_7
LBB0_4:
	testl	%ebx, %eax
	je	LBB0_7
## %bb.5:
	movq	_HDMI_PHYPWRCMD_LDOON@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_HDMI_PHYPWRCMD_TXON@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_hdmi_wp_set_phy_pwr
LBB0_7:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_IRQ_LINK_CONNECT,4,2      ## @HDMI_IRQ_LINK_CONNECT
	.comm	_HDMI_IRQ_LINK_DISCONNECT,4,2   ## @HDMI_IRQ_LINK_DISCONNECT
	.comm	_HDMI_PHYPWRCMD_OFF,4,2         ## @HDMI_PHYPWRCMD_OFF
	.comm	_HDMI_TXPHY_PAD_CFG_CTRL,4,2    ## @HDMI_TXPHY_PAD_CFG_CTRL
	.comm	_HDMI_PHYPWRCMD_LDOON,4,2       ## @HDMI_PHYPWRCMD_LDOON
	.comm	_HDMI_PHYPWRCMD_TXON,4,2        ## @HDMI_PHYPWRCMD_TXON
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_hdmi_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_irq_handler
_hdmi_irq_handler:                      ; @hdmi_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	add	x19, x1, #4
	mov	x0, x19
	bl	_hdmi_wp_get_irqstatus
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_hdmi_wp_set_irqstatus
Lloh0:
	adrp	x22, _HDMI_IRQ_LINK_CONNECT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HDMI_IRQ_LINK_CONNECT@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh2:
	adrp	x23, _HDMI_IRQ_LINK_DISCONNECT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _HDMI_IRQ_LINK_DISCONNECT@GOTPAGEOFF]
	ldr	w8, [x23]
	and	w8, w8, w21
	tst	w9, w21
	b.eq	LBB0_3
; %bb.1:
	cbz	w8, LBB0_5
; %bb.2:
Lloh4:
	adrp	x8, _HDMI_PHYPWRCMD_OFF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HDMI_PHYPWRCMD_OFF@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hdmi_wp_set_phy_pwr
	ldr	w0, [x20]
Lloh7:
	adrp	x21, _HDMI_TXPHY_PAD_CFG_CTRL@GOTPAGE
Lloh8:
	ldr	x21, [x21, _HDMI_TXPHY_PAD_CFG_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_hdmi_read_reg
	mov	w1, #1
	mov	w2, #15
	mov	w3, #15
	bl	_FLD_MOD
	mov	w1, #0
	mov	w2, #14
	mov	w3, #7
	bl	_FLD_MOD
	mov	x2, x0
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_hdmi_write_reg
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_hdmi_wp_set_irqstatus
Lloh9:
	adrp	x8, _HDMI_PHYPWRCMD_LDOON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDMI_PHYPWRCMD_LDOON@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hdmi_wp_set_phy_pwr
	ldr	w0, [x20]
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #15
	mov	w4, #15
	bl	_REG_FLD_MOD
	b	LBB0_7
LBB0_3:
	cbz	w8, LBB0_7
; %bb.4:
Lloh12:
	adrp	x8, _HDMI_PHYPWRCMD_LDOON@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDMI_PHYPWRCMD_LDOON@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _HDMI_PHYPWRCMD_TXON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HDMI_PHYPWRCMD_TXON@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hdmi_wp_set_phy_pwr
LBB0_7:
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh18:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_IRQ_LINK_CONNECT,4,2      ; @HDMI_IRQ_LINK_CONNECT
	.comm	_HDMI_IRQ_LINK_DISCONNECT,4,2   ; @HDMI_IRQ_LINK_DISCONNECT
	.comm	_HDMI_PHYPWRCMD_OFF,4,2         ; @HDMI_PHYPWRCMD_OFF
	.comm	_HDMI_TXPHY_PAD_CFG_CTRL,4,2    ; @HDMI_TXPHY_PAD_CFG_CTRL
	.comm	_HDMI_PHYPWRCMD_LDOON,4,2       ; @HDMI_PHYPWRCMD_LDOON
	.comm	_HDMI_PHYPWRCMD_TXON,4,2        ; @HDMI_PHYPWRCMD_TXON
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_hdmi_irq_handler
.subsections_via_symbols
