	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dln2_gpio_set_config
_dln2_gpio_set_config:                  ## @dln2_gpio_set_config
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	callq	_gpiochip_get_data
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_pinconf_to_config_param
	movq	_PIN_CONFIG_INPUT_DEBOUNCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_pinconf_to_config_argument
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, -20(%rbp)
	movl	(%r14), %edi
	movq	_DLN2_GPIO_SET_DEBOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	$4, %ecx
	callq	_dln2_transfer_tx
	jmp	LBB0_3
LBB0_1:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIN_CONFIG_INPUT_DEBOUNCE,8,3  ## @PIN_CONFIG_INPUT_DEBOUNCE
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_DLN2_GPIO_SET_DEBOUNCE,4,2     ## @DLN2_GPIO_SET_DEBOUNCE
	.no_dead_strip	_dln2_gpio_set_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dln2_gpio_set_config
_dln2_gpio_set_config:                  ; @dln2_gpio_set_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	bl	_gpiochip_get_data
	mov	x19, x0
	mov	x0, x20
	bl	_pinconf_to_config_param
Lloh0:
	adrp	x8, _PIN_CONFIG_INPUT_DEBOUNCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIN_CONFIG_INPUT_DEBOUNCE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_pinconf_to_config_argument
	bl	_cpu_to_le32
	str	w0, [sp, #12]
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _DLN2_GPIO_SET_DEBOUNCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DLN2_GPIO_SET_DEBOUNCE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	w3, #4
	bl	_dln2_transfer_tx
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PIN_CONFIG_INPUT_DEBOUNCE,8,3  ; @PIN_CONFIG_INPUT_DEBOUNCE
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_DLN2_GPIO_SET_DEBOUNCE,4,2     ; @DLN2_GPIO_SET_DEBOUNCE
	.no_dead_strip	_dln2_gpio_set_config
.subsections_via_symbols
