	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm831x_set_config
_wm831x_set_config:                     ## @wm831x_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r15d
	callq	_gpiochip_get_data
	movq	(%rax), %r14
	movq	_WM831X_GPIO1_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%r15d, %ebx
	movq	%r12, %rdi
	callq	_pinconf_to_config_param
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	movq	_WM831X_GPN_OD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WM831X_GPN_OD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	jmp	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	callq	_pinconf_to_config_argument
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wm831x_gpio_set_debounce       ## TAILCALL
LBB0_4:
	movq	_WM831X_GPN_OD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wm831x_set_bits                ## TAILCALL
LBB0_7:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM831X_GPIO1_CONTROL,4,2       ## @WM831X_GPIO1_CONTROL
	.comm	_WM831X_GPN_OD_MASK,4,2         ## @WM831X_GPN_OD_MASK
	.comm	_WM831X_GPN_OD,4,2              ## @WM831X_GPN_OD
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_wm831x_set_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm831x_set_config
_wm831x_set_config:                     ; @wm831x_set_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	bl	_gpiochip_get_data
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _WM831X_GPIO1_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM831X_GPIO1_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_pinconf_to_config_param
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	add	w1, w22, w20
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _WM831X_GPN_OD_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WM831X_GPN_OD_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _WM831X_GPN_OD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WM831X_GPN_OD@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	ldr	w3, [x9]
	mov	x0, x19
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	bl	_pinconf_to_config_argument
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wm831x_gpio_set_debounce
LBB0_5:
Lloh9:
	adrp	x8, _WM831X_GPN_OD_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WM831X_GPN_OD_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wm831x_set_bits
LBB0_7:
Lloh12:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WM831X_GPIO1_CONTROL,4,2       ; @WM831X_GPIO1_CONTROL
	.comm	_WM831X_GPN_OD_MASK,4,2         ; @WM831X_GPN_OD_MASK
	.comm	_WM831X_GPN_OD,4,2              ; @WM831X_GPN_OD
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_wm831x_set_config
.subsections_via_symbols
