	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_config
_set_config:                            ## @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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_HW_GENERIC_FROM_BASE
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	_mux@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GENERIC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r8d
	movl	4(%rbx), %edx
	movq	_GENERIC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	movq	_GPIO_RESULT_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GPIO_RESULT_INVALID_DATA@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_RESULT_INVALID_DATA,4,2   ## @GPIO_RESULT_INVALID_DATA
	.comm	_mux,4,2                        ## @mux
	.comm	_GENERIC_EN,4,2                 ## @GENERIC_EN
	.comm	_GENERIC_SEL,4,2                ## @GENERIC_SEL
	.comm	_GPIO_RESULT_OK,4,2             ## @GPIO_RESULT_OK
	.no_dead_strip	_set_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_config
_set_config:                            ; @set_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_HW_GENERIC_FROM_BASE
	cbz	x19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _mux@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mux@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GENERIC_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GENERIC_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _GENERIC_SEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GENERIC_SEL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldp	w4, w2, [x19]
	bl	_REG_UPDATE_2
Lloh9:
	adrp	x8, _GPIO_RESULT_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIO_RESULT_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _GPIO_RESULT_INVALID_DATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GPIO_RESULT_INVALID_DATA@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_RESULT_INVALID_DATA,4,2   ; @GPIO_RESULT_INVALID_DATA
	.comm	_mux,4,2                        ; @mux
	.comm	_GENERIC_EN,4,2                 ; @GENERIC_EN
	.comm	_GENERIC_SEL,4,2                ; @GENERIC_SEL
	.comm	_GPIO_RESULT_OK,4,2             ; @GPIO_RESULT_OK
	.no_dead_strip	_set_config
.subsections_via_symbols
