	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bi_getboothowto                ## -- Begin function bi_getboothowto
	.p2align	4, 0x90
_bi_getboothowto:                       ## @bi_getboothowto
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_boot_parse_cmdline
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_boot_env_to_howto
	movl	%eax, %r15d
	orl	%ebx, %r15d
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movl	%eax, %edi
	callq	_strdup
	movq	%rax, %r12
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r12
	leaq	-64(%rbp), %rbx
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -64(%rbp)
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strsep
	cmpb	$0, (%rax)
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_RB_MUTE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_RB_SERIAL@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_2
LBB0_10:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.13:
	movq	_RB_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r15d, %r14d
	je	LBB0_15
## %bb.14:
	movq	_RB_MULTIPLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_15:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_11:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_12:
	movq	_RB_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	notl	%r14d
	xorl	%ebx, %ebx
	negl	%eax
	sbbl	%ebx, %ebx
	orl	%r14d, %ebx
	andl	%r15d, %ebx
	movq	%r12, %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"console"

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

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

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

	.comm	_RB_SERIAL,4,2                  ## @RB_SERIAL
L_.str.4:                               ## @.str.4
	.asciz	"nullconsole"

	.comm	_RB_MUTE,4,2                    ## @RB_MUTE
	.comm	_RB_MULTIPLE,4,2                ## @RB_MULTIPLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bi_getboothowto                ; -- Begin function bi_getboothowto
	.p2align	2
_bi_getboothowto:                       ; @bi_getboothowto
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_boot_parse_cmdline
	mov	x19, x0
	bl	_boot_env_to_howto
	orr	w25, w0, w19
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	bl	_strdup
	mov	x19, x0
	str	x0, [sp, #8]
Lloh2:
	adrp	x26, _RB_SERIAL@GOTPAGE
Lloh3:
	ldr	x26, [x26, _RB_SERIAL@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.1:
	mov	w27, #0
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh10:
	adrp	x28, _RB_MUTE@GOTPAGE
Lloh11:
	ldr	x28, [x28, _RB_MUTE@GOTPAGEOFF]
Lloh12:
	adrp	x23, l_.str.4@PAGE
Lloh13:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x20
	bl	_strsep
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	orr	w25, w8, w25
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	orr	w25, w8, w25
	b	LBB0_3
LBB0_10:
	cbz	w27, LBB0_13
; %bb.11:
	ldr	w20, [x26]
	tst	w20, w25
	b.eq	LBB0_14
; %bb.12:
Lloh14:
	adrp	x8, _RB_MULTIPLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RB_MULTIPLE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w25, w8, w25
	b	LBB0_14
LBB0_13:
	ldr	w20, [x26]
LBB0_14:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cmp	w0, #0
	mov	w8, #-1
	csinv	w8, w8, w20, ne
	and	w20, w8, w25
	mov	x0, x19
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"console"

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

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

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

	.comm	_RB_SERIAL,4,2                  ; @RB_SERIAL
l_.str.4:                               ; @.str.4
	.asciz	"nullconsole"

	.comm	_RB_MUTE,4,2                    ; @RB_MUTE
	.comm	_RB_MULTIPLE,4,2                ; @RB_MULTIPLE
.subsections_via_symbols
