	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_irq_setup_hpd_filter       ## -- Begin function dal_irq_setup_hpd_filter
	.p2align	4, 0x90
_dal_irq_setup_hpd_filter:              ## @dal_irq_setup_hpd_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	_GPIO_CONFIG_TYPE_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -8(%rbp)
	leaq	-8(%rbp), %rsi
	callq	_dal_gpio_set_config
	jmp	LBB0_3
LBB0_1:
	movq	_GPIO_RESULT_INVALID_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_RESULT_INVALID_DATA,4,2   ## @GPIO_RESULT_INVALID_DATA
	.comm	_GPIO_CONFIG_TYPE_HPD,4,2       ## @GPIO_CONFIG_TYPE_HPD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_irq_setup_hpd_filter       ; -- Begin function dal_irq_setup_hpd_filter
	.p2align	2
_dal_irq_setup_hpd_filter:              ; @dal_irq_setup_hpd_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GPIO_CONFIG_TYPE_HPD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_CONFIG_TYPE_HPD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x1]
	stp	w9, w8, [sp, #8]
	add	x1, sp, #8
	bl	_dal_gpio_set_config
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _GPIO_RESULT_INVALID_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_RESULT_INVALID_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_RESULT_INVALID_DATA,4,2   ; @GPIO_RESULT_INVALID_DATA
	.comm	_GPIO_CONFIG_TYPE_HPD,4,2       ; @GPIO_CONFIG_TYPE_HPD
.subsections_via_symbols
