	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_value
_get_value:                             ## @get_value
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_HW_HPD_FROM_BASE
	movl	$0, -20(%rbp)
	movq	(%rbx), %rax
	movq	_GPIO_MODE_INTERRUPT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_int_status@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DC_HPD_SENSE_DELAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_REG_GET
	movl	-20(%rbp), %eax
	movl	%eax, (%r14)
	movq	_GPIO_RESULT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dal_hw_gpio_get_value          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_MODE_INTERRUPT,8,3        ## @GPIO_MODE_INTERRUPT
	.comm	_int_status,4,2                 ## @int_status
	.comm	_DC_HPD_SENSE_DELAYED,4,2       ## @DC_HPD_SENSE_DELAYED
	.comm	_GPIO_RESULT_OK,4,2             ## @GPIO_RESULT_OK
	.no_dead_strip	_get_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_value
_get_value:                             ; @get_value
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_HW_HPD_FROM_BASE
	str	wzr, [sp, #12]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _GPIO_MODE_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GPIO_MODE_INTERRUPT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _int_status@GOTPAGE
Lloh4:
	ldr	x8, [x8, _int_status@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _DC_HPD_SENSE_DELAYED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DC_HPD_SENSE_DELAYED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_REG_GET
	ldr	w8, [sp, #12]
	str	w8, [x19]
Lloh9:
	adrp	x8, _GPIO_RESULT_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIO_RESULT_OK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dal_hw_gpio_get_value
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_MODE_INTERRUPT,8,3        ; @GPIO_MODE_INTERRUPT
	.comm	_int_status,4,2                 ; @int_status
	.comm	_DC_HPD_SENSE_DELAYED,4,2       ; @DC_HPD_SENSE_DELAYED
	.comm	_GPIO_RESULT_OK,4,2             ; @GPIO_RESULT_OK
	.no_dead_strip	_get_value
.subsections_via_symbols
