	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_gpio_service_unlock        ## -- Begin function dal_gpio_service_unlock
	.p2align	4, 0x90
_dal_gpio_service_unlock:               ## @dal_gpio_service_unlock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	%esi, %ecx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_1
## %bb.2:
	callq	_set_pin_free
	movq	_GPIO_RESULT_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
	callq	_ASSERT_CRITICAL
	movq	_GPIO_RESULT_OPEN_FAILED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_RESULT_OPEN_FAILED,4,2    ## @GPIO_RESULT_OPEN_FAILED
	.comm	_GPIO_RESULT_OK,4,2             ## @GPIO_RESULT_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_gpio_service_unlock        ; -- Begin function dal_gpio_service_unlock
	.p2align	2
_dal_gpio_service_unlock:               ; @dal_gpio_service_unlock
	.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
	ldr	x8, [x0]
	ldr	w8, [x8, w1, uxtw #2]
	cbz	w8, LBB0_2
; %bb.1:
	bl	_set_pin_free
Lloh0:
	adrp	x8, _GPIO_RESULT_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_RESULT_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
	bl	_ASSERT_CRITICAL
Lloh2:
	adrp	x8, _GPIO_RESULT_OPEN_FAILED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GPIO_RESULT_OPEN_FAILED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_RESULT_OPEN_FAILED,4,2    ; @GPIO_RESULT_OPEN_FAILED
	.comm	_GPIO_RESULT_OK,4,2             ; @GPIO_RESULT_OK
.subsections_via_symbols
