	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vrc4171_set_multifunction_pin
_vrc4171_set_multifunction_pin:         ## @vrc4171_set_multifunction_pin
	.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	%edi, %ebx
	movq	_CONFIGURATION1@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_inw
	movq	_SLOTB_CONFIG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_SLOTB_PCCARD@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_SLOTB_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_SLOTB_FLASHROM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SLOTB_CF@GOTPCREL(%rip), %rax
LBB0_6:
	orl	(%rax), %edi
LBB0_7:
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_outw                           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_CONFIGURATION1,4,2             ## @CONFIGURATION1
	.comm	_SLOTB_CONFIG,4,2               ## @SLOTB_CONFIG
	.comm	_SLOTB_NONE,4,2                 ## @SLOTB_NONE
	.comm	_SLOTB_PCCARD,4,2               ## @SLOTB_PCCARD
	.comm	_SLOTB_CF,4,2                   ## @SLOTB_CF
	.comm	_SLOTB_FLASHROM,4,2             ## @SLOTB_FLASHROM
	.no_dead_strip	_vrc4171_set_multifunction_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vrc4171_set_multifunction_pin
_vrc4171_set_multifunction_pin:         ; @vrc4171_set_multifunction_pin
	.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, x0
Lloh0:
	adrp	x20, _CONFIGURATION1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CONFIGURATION1@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_inw
Lloh2:
	adrp	x8, _SLOTB_CONFIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SLOTB_CONFIG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w0, w0, w8
	sub	w8, w19, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.1:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh7:
	adrp	x8, _SLOTB_PCCARD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SLOTB_PCCARD@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _SLOTB_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SLOTB_NONE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _SLOTB_FLASHROM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SLOTB_FLASHROM@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _SLOTB_CF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SLOTB_CF@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_7:
	ldr	w1, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outw
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_CONFIGURATION1,4,2             ; @CONFIGURATION1
	.comm	_SLOTB_CONFIG,4,2               ; @SLOTB_CONFIG
	.comm	_SLOTB_NONE,4,2                 ; @SLOTB_NONE
	.comm	_SLOTB_PCCARD,4,2               ; @SLOTB_PCCARD
	.comm	_SLOTB_CF,4,2                   ; @SLOTB_CF
	.comm	_SLOTB_FLASHROM,4,2             ; @SLOTB_FLASHROM
	.no_dead_strip	_vrc4171_set_multifunction_pin
.subsections_via_symbols
