	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cb_swap_interpreter
_cb_swap_interpreter:                   ## @cb_swap_interpreter
	.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
	movq	_loader@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_free
	movq	_explicit_loader@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_4
LBB0_3:
	cmpb	$0, (%rbx)
	je	LBB0_4
LBB0_5:
	movq	_loader@GOTPCREL(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_7:
	movq	_need_reinit@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_jb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_longjmp                        ## TAILCALL
LBB0_1:
	callq	_cb_swap_interpreter.cold.2
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_4:
	callq	_cb_swap_interpreter.cold.1
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function cb_swap_interpreter.cold.1
_cb_swap_interpreter.cold.1:            ## @cb_swap_interpreter.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rsi
	xorl	%edi, %edi
	popq	%rbp
	jmp	_cb_exit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function cb_swap_interpreter.cold.2
_cb_swap_interpreter.cold.2:            ## @cb_swap_interpreter.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rsi
	xorl	%edi, %edi
	popq	%rbp
	jmp	_cb_exit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_loader,4,2                     ## @loader
	.comm	_explicit_loader,4,2            ## @explicit_loader
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"requested loader interpreter does not match guest userboot"

L_.str.1:                               ## @.str.1
	.asciz	"guest failed to request an interpreter"

L_.str.2:                               ## @.str.2
	.asciz	"/boot/userboot_%s.so"

	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.3:                               ## @.str.3
	.asciz	"malloc"

	.comm	_need_reinit,4,2                ## @need_reinit
	.comm	_jb,4,2                         ## @jb
	.no_dead_strip	_cb_swap_interpreter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cb_swap_interpreter
_cb_swap_interpreter:                   ; @cb_swap_interpreter
	.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
Lloh0:
	adrp	x8, _loader@GOTPAGE
Lloh1:
	ldr	x8, [x8, _loader@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_free
Lloh3:
	adrp	x8, _explicit_loader@GOTPAGE
Lloh4:
	ldr	x8, [x8, _explicit_loader@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.1:
	cbz	x19, LBB0_7
LBB0_2:
	ldrb	w8, [x19]
	cbz	w8, LBB0_7
LBB0_3:
Lloh6:
	adrp	x0, _loader@GOTPAGE
Lloh7:
	ldr	x0, [x0, _loader@GOTPAGEOFF]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_5:
Lloh15:
	adrp	x8, _need_reinit@GOTPAGE
Lloh16:
	ldr	x8, [x8, _need_reinit@GOTPAGEOFF]
	mov	w9, #1
Lloh17:
	str	w9, [x8]
Lloh18:
	adrp	x8, _jb@GOTPAGE
Lloh19:
	ldr	x8, [x8, _jb@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_longjmp
LBB0_6:
	bl	_cb_swap_interpreter.cold.2
	cbnz	x19, LBB0_2
LBB0_7:
	bl	_cb_swap_interpreter.cold.1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function cb_swap_interpreter.cold.1
_cb_swap_interpreter.cold.1:            ; @cb_swap_interpreter.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	x0, #0
	mov	w1, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cb_exit
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function cb_swap_interpreter.cold.2
_cb_swap_interpreter.cold.2:            ; @cb_swap_interpreter.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	x0, #0
	mov	w1, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cb_exit
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_loader,4,2                     ; @loader
	.comm	_explicit_loader,4,2            ; @explicit_loader
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"requested loader interpreter does not match guest userboot"

l_.str.1:                               ; @.str.1
	.asciz	"guest failed to request an interpreter"

l_.str.2:                               ; @.str.2
	.asciz	"/boot/userboot_%s.so"

	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.3:                               ; @.str.3
	.asciz	"malloc"

	.comm	_need_reinit,4,2                ; @need_reinit
	.comm	_jb,4,2                         ; @jb
	.no_dead_strip	_cb_swap_interpreter
.subsections_via_symbols
