	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_gpio_create_ddc            ## -- Begin function dal_gpio_create_ddc
	.p2align	4, 0x90
_dal_gpio_create_ddc:                   ## @dal_gpio_create_ddc
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	leaq	-40(%rbp), %rax
	leaq	-36(%rbp), %rcx
	movl	%esi, %edi
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	*(%rbx)
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	_GPIO_ID_DDC_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %edx
	movq	_GPIO_PIN_OUTPUT_STATE_DEFAULT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r15, %rdi
	callq	_dal_gpio_create
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_GPIO_ID_DDC_CLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %edx
	movl	(%r12), %ecx
	movq	%r15, %rdi
	callq	_dal_gpio_create
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	movl	(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	(%r15), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_9
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	movq	%rbx, %rdi
	callq	_dal_gpio_destroy
LBB0_7:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GPIO_ID_DDC_DATA,4,2           ## @GPIO_ID_DDC_DATA
	.comm	_GPIO_PIN_OUTPUT_STATE_DEFAULT,4,2 ## @GPIO_PIN_OUTPUT_STATE_DEFAULT
	.comm	_GPIO_ID_DDC_CLOCK,4,2          ## @GPIO_ID_DDC_CLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_gpio_create_ddc            ; -- Begin function dal_gpio_create_ddc
	.p2align	2
_dal_gpio_create_ddc:                   ; @dal_gpio_create_ddc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x8, x2
	mov	x21, x0
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x1
	mov	x1, x8
	blr	x9
	cbz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _GPIO_ID_DDC_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_ID_DDC_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [sp, #8]
Lloh6:
	adrp	x22, _GPIO_PIN_OUTPUT_STATE_DEFAULT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _GPIO_PIN_OUTPUT_STATE_DEFAULT@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x21
	bl	_dal_gpio_create
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.3:
Lloh8:
	adrp	x8, _GPIO_ID_DDC_CLOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPIO_ID_DDC_CLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [sp, #8]
	ldr	w3, [x22]
	mov	x0, x21
	bl	_dal_gpio_create
	str	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w8, [x20]
	str	w8, [x19, #12]
	ldr	w8, [x21]
	str	w8, [x19, #8]
	b	LBB0_10
LBB0_5:
	bl	_BREAK_TO_DEBUGGER
	b	LBB0_10
LBB0_6:
	bl	_BREAK_TO_DEBUGGER
	b	LBB0_8
LBB0_7:
	bl	_BREAK_TO_DEBUGGER
	mov	x0, x19
	bl	_dal_gpio_destroy
LBB0_8:
	mov	x0, x19
	bl	_kfree
LBB0_9:
	mov	x19, #0
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GPIO_ID_DDC_DATA,4,2           ; @GPIO_ID_DDC_DATA
	.comm	_GPIO_PIN_OUTPUT_STATE_DEFAULT,4,2 ; @GPIO_PIN_OUTPUT_STATE_DEFAULT
	.comm	_GPIO_ID_DDC_CLOCK,4,2          ; @GPIO_ID_DDC_CLOCK
.subsections_via_symbols
