	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8994_gpio_set_config
_wm8994_gpio_set_config:                ## @wm8994_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	callq	_gpiochip_get_data
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_pinconf_to_config_param
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movq	_WM8994_GPIO_1@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	movq	_WM8994_GPN_OP_CFG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WM8994_GPN_OP_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r15d, %esi
	jmp	LBB0_4
LBB0_3:
	movq	_WM8994_GPIO_1@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	movq	_WM8994_GPN_OP_CFG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%ecx, %ecx
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wm8994_set_bits                ## TAILCALL
LBB0_5:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8994_GPIO_1,4,2              ## @WM8994_GPIO_1
	.comm	_WM8994_GPN_OP_CFG_MASK,4,2     ## @WM8994_GPN_OP_CFG_MASK
	.comm	_WM8994_GPN_OP_CFG,4,2          ## @WM8994_GPN_OP_CFG
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_wm8994_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 wm8994_gpio_set_config
_wm8994_gpio_set_config:                ; @wm8994_gpio_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]
	mov	x0, x21
	bl	_pinconf_to_config_param
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _WM8994_GPIO_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM8994_GPIO_1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w1, w8, w20
Lloh3:
	adrp	x8, _WM8994_GPN_OP_CFG_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WM8994_GPN_OP_CFG_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _WM8994_GPN_OP_CFG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WM8994_GPN_OP_CFG@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	ldr	w3, [x9]
	mov	x0, x19
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _WM8994_GPIO_1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WM8994_GPIO_1@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _WM8994_GPN_OP_CFG_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WM8994_GPN_OP_CFG_MASK@GOTPAGEOFF]
	add	w1, w8, w20
Lloh14:
	ldr	w2, [x9]
	mov	x0, x19
	mov	w3, #0
LBB0_4:
	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	_wm8994_set_bits
LBB0_5:
Lloh15:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh17:
	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	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8994_GPIO_1,4,2              ; @WM8994_GPIO_1
	.comm	_WM8994_GPN_OP_CFG_MASK,4,2     ; @WM8994_GPN_OP_CFG_MASK
	.comm	_WM8994_GPN_OP_CFG,4,2          ; @WM8994_GPN_OP_CFG
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_wm8994_gpio_set_config
.subsections_via_symbols
