	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function md_getboothowto
_md_getboothowto:                       ## @md_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_boot_parse_cmdline
	movl	%eax, %r14d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_boot_env_to_howto
	movl	%eax, %ebx
	orl	%r14d, %ebx
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_getenv
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_strcmp
	movl	$0, %ecx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_RB_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	orl	%ecx, %ebx
	movq	%r14, %rdi
	callq	_getenv
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_RB_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	orl	%r15d, %ebx
	movl	%ebx, %eax
	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	"console"

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

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

	.comm	_RB_MUTE,4,2                    ## @RB_MUTE
	.no_dead_strip	_md_getboothowto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function md_getboothowto
_md_getboothowto:                       ; @md_getboothowto
	.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
	bl	_boot_parse_cmdline
	mov	x19, x0
	bl	_boot_env_to_howto
	orr	w20, w0, w19
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_getenv
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
Lloh4:
	adrp	x8, _RB_SERIAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RB_SERIAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_getenv
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
Lloh9:
	adrp	x8, _RB_MUTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RB_MUTE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w0, w20, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"console"

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

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

	.comm	_RB_MUTE,4,2                    ; @RB_MUTE
	.no_dead_strip	_md_getboothowto
.subsections_via_symbols
