	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_hw_gpio_get_value          ## -- Begin function dal_hw_gpio_get_value
	.p2align	4, 0x90
_dal_hw_gpio_get_value:                 ## @dal_hw_gpio_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_FROM_HW_GPIO_PIN
	movl	(%rbx), %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	_GPIO_RESULT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_Y_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_REG_GET
	jmp	LBB0_3
LBB0_2:
	movq	_GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_RESULT_OK,4,2             ## @GPIO_RESULT_OK
	.comm	_Y_reg,4,2                      ## @Y_reg
	.comm	_Y,4,2                          ## @Y
	.comm	_GPIO_RESULT_NON_SPECIFIC_ERROR,4,2 ## @GPIO_RESULT_NON_SPECIFIC_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_hw_gpio_get_value          ; -- Begin function dal_hw_gpio_get_value
	.p2align	2
_dal_hw_gpio_get_value:                 ; @dal_hw_gpio_get_value
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_FROM_HW_GPIO_PIN
	ldr	w8, [x20]
	and	w8, w8, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GPIO_RESULT_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_RESULT_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _Y_reg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Y_reg@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _Y@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Y@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_GET
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_RESULT_OK,4,2             ; @GPIO_RESULT_OK
	.comm	_Y_reg,4,2                      ; @Y_reg
	.comm	_Y,4,2                          ; @Y
	.comm	_GPIO_RESULT_NON_SPECIFIC_ERROR,4,2 ; @GPIO_RESULT_NON_SPECIFIC_ERROR
.subsections_via_symbols
