	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_currdev
_extract_currdev:                       ## @extract_currdev
	.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
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.extract_currdev(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	movq	_EV_VOLATILE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_env_nounset@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_env_setenv
	movl	(%r14), %esi
	movq	_env_noset@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%r15), %r8d
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_env_setenv                     ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dram0"

L_.str.1:                               ## @.str.1
	.asciz	"cfi0"

L_.str.2:                               ## @.str.2
	.asciz	"sdcard0"

L_.str.3:                               ## @.str.3
	.asciz	"currdev"

	.comm	_EV_VOLATILE,4,2                ## @EV_VOLATILE
	.comm	_env_nounset,4,2                ## @env_nounset
L_.str.4:                               ## @.str.4
	.asciz	"loaddev"

	.comm	_env_noset,8,3                  ## @env_noset
	.no_dead_strip	_extract_currdev
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.extract_currdev
l_switch.table.extract_currdev:
	.quad	L_.str.2
	.quad	L_.str
	.quad	L_.str.1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_currdev
_extract_currdev:                       ; @extract_currdev
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.extract_currdev@PAGE
Lloh1:
	add	x9, x9, l_switch.table.extract_currdev@PAGEOFF
	ldr	x19, [x9, w8, sxtw #3]
Lloh2:
	adrp	x20, _EV_VOLATILE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _EV_VOLATILE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh4:
	adrp	x21, _env_nounset@GOTPAGE
Lloh5:
	ldr	x21, [x21, _env_nounset@GOTPAGEOFF]
	ldr	w4, [x21]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x19
	mov	x3, #0
	bl	_env_setenv
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _env_noset@GOTPAGE
Lloh9:
	ldr	x8, [x8, _env_noset@GOTPAGEOFF]
Lloh10:
	ldr	x3, [x8]
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	ldr	w4, [x21]
	mov	x2, x19
	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	_env_setenv
LBB0_2:
	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 AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dram0"

l_.str.1:                               ; @.str.1
	.asciz	"cfi0"

l_.str.2:                               ; @.str.2
	.asciz	"sdcard0"

l_.str.3:                               ; @.str.3
	.asciz	"currdev"

	.comm	_EV_VOLATILE,4,2                ; @EV_VOLATILE
	.comm	_env_nounset,4,2                ; @env_nounset
l_.str.4:                               ; @.str.4
	.asciz	"loaddev"

	.comm	_env_noset,8,3                  ; @env_noset
	.no_dead_strip	_extract_currdev
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.extract_currdev
l_switch.table.extract_currdev:
	.quad	l_.str.2
	.quad	l_.str
	.quad	l_.str.1

.subsections_via_symbols
