	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_hpd_line
_get_hpd_line:                          ## @get_hpd_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_HPD_SOURCEID_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%rdi), %rax
	movl	(%rax), %edx
	movl	4(%rax), %eax
	movl	8(%rdi), %esi
	movl	%eax, %edi
	callq	_get_hpd_gpio
	movq	%rax, -16(%rbp)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rdi
	callq	_dal_irq_get_source
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_9
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_HPD_SOURCEID6@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_7:
	movq	_HPD_SOURCEID5@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_6:
	movq	_HPD_SOURCEID4@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_5:
	movq	_HPD_SOURCEID3@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	movq	_HPD_SOURCEID2@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_3:
	movq	_HPD_SOURCEID1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
LBB0_10:
	leaq	-16(%rbp), %rdi
	callq	_dal_gpio_destroy_irq
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_HPD_SOURCEID_UNKNOWN,4,2       ## @HPD_SOURCEID_UNKNOWN
	.comm	_HPD_SOURCEID1,4,2              ## @HPD_SOURCEID1
	.comm	_HPD_SOURCEID2,4,2              ## @HPD_SOURCEID2
	.comm	_HPD_SOURCEID3,4,2              ## @HPD_SOURCEID3
	.comm	_HPD_SOURCEID4,4,2              ## @HPD_SOURCEID4
	.comm	_HPD_SOURCEID5,4,2              ## @HPD_SOURCEID5
	.comm	_HPD_SOURCEID6,4,2              ## @HPD_SOURCEID6
	.no_dead_strip	_get_hpd_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_hpd_line
_get_hpd_line:                          ; @get_hpd_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _HPD_SOURCEID_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HPD_SOURCEID_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x8, [x0]
	ldr	w1, [x0, #8]
	ldp	w2, w0, [x8]
	bl	_get_hpd_gpio
	str	x0, [sp, #8]
	cbz	x0, LBB0_11
; %bb.1:
	bl	_dal_irq_get_source
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_9
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _HPD_SOURCEID6@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HPD_SOURCEID6@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_10
LBB0_4:
Lloh8:
	adrp	x8, _HPD_SOURCEID5@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HPD_SOURCEID5@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	b	LBB0_10
LBB0_5:
Lloh11:
	adrp	x8, _HPD_SOURCEID4@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HPD_SOURCEID4@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x8, _HPD_SOURCEID3@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HPD_SOURCEID3@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
	b	LBB0_10
LBB0_7:
Lloh17:
	adrp	x8, _HPD_SOURCEID2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HPD_SOURCEID2@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
	b	LBB0_10
LBB0_8:
Lloh20:
	adrp	x8, _HPD_SOURCEID1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HPD_SOURCEID1@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	b	LBB0_10
LBB0_9:
	bl	_BREAK_TO_DEBUGGER
LBB0_10:
	add	x0, sp, #8
	bl	_dal_gpio_destroy_irq
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.comm	_HPD_SOURCEID_UNKNOWN,4,2       ; @HPD_SOURCEID_UNKNOWN
	.comm	_HPD_SOURCEID1,4,2              ; @HPD_SOURCEID1
	.comm	_HPD_SOURCEID2,4,2              ; @HPD_SOURCEID2
	.comm	_HPD_SOURCEID3,4,2              ; @HPD_SOURCEID3
	.comm	_HPD_SOURCEID4,4,2              ; @HPD_SOURCEID4
	.comm	_HPD_SOURCEID5,4,2              ; @HPD_SOURCEID5
	.comm	_HPD_SOURCEID6,4,2              ; @HPD_SOURCEID6
	.no_dead_strip	_get_hpd_line
.subsections_via_symbols
