	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function byt_get_gpio_mux
_byt_get_gpio_mux:                      ## @byt_get_gpio_mux
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movq	_BYT_SCORE_ACPI_UID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	movl	%r14d, %ecx
	andl	$-2, %ecx
	cmpl	$92, %ecx
	jne	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_BYT_ALTER_GPIO_MUX@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_3:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_BYT_SUS_ACPI_UID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	addl	$-11, %r14d
	movq	_BYT_DEFAULT_GPIO_MUX@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_BYT_ALTER_GPIO_MUX@GOTPCREL(%rip), %rdx
LBB0_5:
	cmpl	$11, %r14d
	cmovbq	%rdx, %rcx
LBB0_6:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BYT_SCORE_ACPI_UID,4,2         ## @BYT_SCORE_ACPI_UID
	.comm	_BYT_ALTER_GPIO_MUX,4,2         ## @BYT_ALTER_GPIO_MUX
	.comm	_BYT_SUS_ACPI_UID,4,2           ## @BYT_SUS_ACPI_UID
	.comm	_BYT_DEFAULT_GPIO_MUX,4,2       ## @BYT_DEFAULT_GPIO_MUX
	.no_dead_strip	_byt_get_gpio_mux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function byt_get_gpio_mux
_byt_get_gpio_mux:                      ; @byt_get_gpio_mux
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _BYT_SCORE_ACPI_UID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BYT_SCORE_ACPI_UID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_strcmp
	and	w8, w19, #0xfffffffe
Lloh3:
	adrp	x21, _BYT_ALTER_GPIO_MUX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BYT_ALTER_GPIO_MUX@GOTPAGEOFF]
	cmp	w8, #92
	b.ne	LBB0_2
; %bb.1:
	cbz	w0, LBB0_3
LBB0_2:
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _BYT_SUS_ACPI_UID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BYT_SUS_ACPI_UID@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_strcmp
	sub	w8, w19, #11
	cmp	w0, #0
	ccmp	w8, #11, #2, eq
Lloh8:
	adrp	x8, _BYT_DEFAULT_GPIO_MUX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BYT_DEFAULT_GPIO_MUX@GOTPAGEOFF]
	csel	x21, x21, x8, lo
LBB0_3:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BYT_SCORE_ACPI_UID,4,2         ; @BYT_SCORE_ACPI_UID
	.comm	_BYT_ALTER_GPIO_MUX,4,2         ; @BYT_ALTER_GPIO_MUX
	.comm	_BYT_SUS_ACPI_UID,4,2           ; @BYT_SUS_ACPI_UID
	.comm	_BYT_DEFAULT_GPIO_MUX,4,2       ; @BYT_DEFAULT_GPIO_MUX
	.no_dead_strip	_byt_get_gpio_mux
.subsections_via_symbols
