	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_hw_gpio_set_value          ## -- Begin function dal_hw_gpio_set_value
	.p2align	4, 0x90
_dal_hw_gpio_set_value:                 ## @dal_hw_gpio_set_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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_FROM_HW_GPIO_PIN
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.3:
	movq	_A_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_5
LBB0_4:
	movq	_EN_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%r14d
LBB0_5:
	movl	%r14d, %edx
	callq	_REG_UPDATE
	movq	_GPIO_RESULT_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A_reg,4,2                      ## @A_reg
	.comm	_A,4,2                          ## @A
	.comm	_GPIO_RESULT_OK,4,2             ## @GPIO_RESULT_OK
	.comm	_EN_reg,4,2                     ## @EN_reg
	.comm	_EN,4,2                         ## @EN
	.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_set_value          ; -- Begin function dal_hw_gpio_set_value
	.p2align	2
_dal_hw_gpio_set_value:                 ; @dal_hw_gpio_set_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]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _A_reg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_reg@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _A@GOTPAGE
Lloh4:
	ldr	x8, [x8, _A@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _EN_reg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EN_reg@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mvn	w2, w19
LBB0_4:
	bl	_REG_UPDATE
Lloh12:
	adrp	x8, _GPIO_RESULT_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GPIO_RESULT_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_A_reg,4,2                      ; @A_reg
	.comm	_A,4,2                          ; @A
	.comm	_GPIO_RESULT_OK,4,2             ; @GPIO_RESULT_OK
	.comm	_EN_reg,4,2                     ; @EN_reg
	.comm	_EN,4,2                         ; @EN
	.comm	_GPIO_RESULT_NON_SPECIFIC_ERROR,4,2 ; @GPIO_RESULT_NON_SPECIFIC_ERROR
.subsections_via_symbols
