	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_hw_gpio_config_mode        ## -- Begin function dal_hw_gpio_config_mode
	.p2align	4, 0x90
_dal_hw_gpio_config_mode:               ## @dal_hw_gpio_config_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	%esi, (%rdi)
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	movq	_EN@GOTPCREL(%rip), %rax
	movq	_EN_reg@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_3:
	movq	_A@GOTPCREL(%rip), %rax
	movq	_A_reg@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %edi
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_REG_UPDATE
	movl	$1, %edx
LBB0_5:
	movq	_MASK_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_REG_UPDATE
	movq	_GPIO_RESULT_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_EN_reg,4,2                     ## @EN_reg
	.comm	_EN,4,2                         ## @EN
	.comm	_MASK_reg,4,2                   ## @MASK_reg
	.comm	_MASK,4,2                       ## @MASK
	.comm	_GPIO_RESULT_OK,4,2             ## @GPIO_RESULT_OK
	.comm	_A_reg,4,2                      ## @A_reg
	.comm	_A,4,2                          ## @A
	.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_config_mode        ; -- Begin function dal_hw_gpio_config_mode
	.p2align	2
_dal_hw_gpio_config_mode:               ; @dal_hw_gpio_config_mode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	w1, [x0]
	sub	w10, w1, #128
	cmp	w10, #4
	b.hi	LBB0_6
; %bb.1:
	mov	w2, #0
Lloh0:
	adrp	x8, _EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _EN_reg@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EN_reg@GOTPAGEOFF]
Lloh4:
	adrp	x11, lJTI0_0@PAGE
Lloh5:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
Lloh6:
	adrp	x8, _A@GOTPAGE
Lloh7:
	ldr	x8, [x8, _A@GOTPAGEOFF]
Lloh8:
	adrp	x9, _A_reg@GOTPAGE
Lloh9:
	ldr	x9, [x9, _A_reg@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x9]
	ldr	w1, [x8]
	mov	w2, #0
	bl	_REG_UPDATE
	mov	w2, #1
LBB0_4:
Lloh10:
	adrp	x8, _MASK_reg@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MASK_reg@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MASK@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_REG_UPDATE
Lloh16:
	adrp	x8, _GPIO_RESULT_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GPIO_RESULT_OK@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh18:
	adrp	x8, _GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GPIO_RESULT_NON_SPECIFIC_ERROR@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_EN_reg,4,2                     ; @EN_reg
	.comm	_EN,4,2                         ; @EN
	.comm	_MASK_reg,4,2                   ; @MASK_reg
	.comm	_MASK,4,2                       ; @MASK
	.comm	_GPIO_RESULT_OK,4,2             ; @GPIO_RESULT_OK
	.comm	_A_reg,4,2                      ; @A_reg
	.comm	_A,4,2                          ; @A
	.comm	_GPIO_RESULT_NON_SPECIFIC_ERROR,4,2 ; @GPIO_RESULT_NON_SPECIFIC_ERROR
.subsections_via_symbols
