	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_gpio_create                ## -- Begin function dal_gpio_create
	.p2align	4, 0x90
_dal_gpio_create:                       ## @dal_gpio_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, 32(%r12)
	movq	$0, 8(%r12)
	movl	%ebx, (%r12)
	movl	%r14d, 44(%r12)
	movq	_GPIO_MODE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movl	%r13d, 4(%r12)
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_9
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	8(%r15), %rax
	movq	%r12, %rdi
	addq	$16, %rdi
	movl	(%r15), %esi
	movl	$129, %edx
	movl	%r14d, %ecx
	callq	*(%rax)
	jmp	LBB0_10
LBB0_1:
	xorl	%edi, %edi
	callq	_ASSERT_CRITICAL
	jmp	LBB0_10
LBB0_9:
	xorl	%edi, %edi
	callq	_ASSERT_CRITICAL
	movq	$0, 8(%r12)
	jmp	LBB0_10
LBB0_7:
	movq	8(%r15), %rax
	movq	%r12, %rdi
	addq	$20, %rdi
	movl	(%r15), %esi
	movl	$131, %edx
	movl	%r14d, %ecx
	callq	*8(%rax)
	jmp	LBB0_10
LBB0_4:
	movq	8(%r15), %rax
	movq	%r12, %rdi
	addq	$24, %rdi
	movl	(%r15), %esi
	movl	$132, %edx
	jmp	LBB0_5
LBB0_6:
	movq	8(%r15), %rax
	movq	%r12, %rdi
	addq	$24, %rdi
	movl	(%r15), %esi
	movl	$133, %edx
LBB0_5:
	movl	%r14d, %ecx
	callq	*16(%rax)
LBB0_10:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GPIO_MODE_UNKNOWN,4,2          ## @GPIO_MODE_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_gpio_create                ; -- Begin function dal_gpio_create
	.p2align	2
_dal_gpio_create:                       ; @dal_gpio_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	str	x21, [x19, #32]
	str	xzr, [x19, #8]
	str	w23, [x19]
Lloh3:
	adrp	x8, _GPIO_MODE_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_MODE_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w20, [x19, #40]
	str	w22, [x19, #4]
	sub	w8, w23, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.2:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	add	x0, x19, #16
	ldr	w1, [x21]
	mov	w2, #129
	b	LBB0_9
LBB0_4:
	bl	_ASSERT_CRITICAL
	b	LBB0_10
LBB0_5:
	mov	w0, #0
	bl	_ASSERT_CRITICAL
	str	xzr, [x19, #8]
	b	LBB0_10
LBB0_6:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	add	x0, x19, #20
	ldr	w1, [x21]
	mov	w2, #131
	b	LBB0_9
LBB0_7:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #16]
	add	x0, x19, #24
	ldr	w1, [x21]
	mov	w2, #132
	b	LBB0_9
LBB0_8:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #16]
	add	x0, x19, #24
	ldr	w1, [x21]
	mov	w2, #133
LBB0_9:
	mov	x3, x20
	blr	x8
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GPIO_MODE_UNKNOWN,4,2          ; @GPIO_MODE_UNKNOWN
.subsections_via_symbols
