	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlp_bootargs_init
_xlp_bootargs_init:                     ## @xlp_bootargs_init
	.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	$2072, %rsp                     ## imm = 0x818
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testb	$1, %dil
	jne	LBB0_1
## %bb.2:
	movslq	%edi, %rbx
	cmpb	$0, (%rbx)
	je	LBB0_7
## %bb.3:
	leaq	-2096(%rbp), %r14
	leaq	L_.str(%rip), %r15
	leaq	-2104(%rbp), %r12
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_kern_setenv
	movq	%rbx, %rdi
	callq	_strlen
	cmpb	$0, 1(%rax,%rbx)
	leaq	1(%rax,%rbx), %rbx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcpy
	movq	%r14, -2104(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strsep
	movq	-2104(%rbp), %rsi
	movq	%rax, %rdi
	testq	%rsi, %rsi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_xlp_hw_thread_mask@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	leaq	-2108(%rbp), %rsi
	callq	_getenv_uint
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	-2108(%rbp), %eax
	movq	_xlp_hw_thread_mask@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	callq	_kern_getenv
	movq	%rax, -2104(%rbp)
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	-2096(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcpy
	movq	%rbx, %rdi
	callq	_boot_parse_cmdline
	movq	_boothowto@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movq	-2104(%rbp), %rdi
	callq	_freeenv
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$2072, %rsp                     ## imm = 0x818
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_xlp_hw_thread_mask,4,2         ## @xlp_hw_thread_mask
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"="

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

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

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

	.comm	_boothowto,4,2                  ## @boothowto
	.no_dead_strip	_xlp_bootargs_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlp_bootargs_init
_xlp_bootargs_init:                     ; @xlp_bootargs_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #2080
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	tbnz	w0, #0, LBB0_6
; %bb.1:
	sxtw	x19, w0
	ldrb	w8, [x19]
	cbz	w8, LBB0_7
; %bb.2:
	add	x22, sp, #24
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_kern_setenv
	mov	x0, x19
	bl	_strlen
	add	x19, x0, x19
	ldrb	w8, [x19, #1]!
	cbz	w8, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	x1, x19
	mov	w2, #2048
	bl	_strlcpy
	str	x22, [sp, #16]
	add	x0, sp, #16
	mov	x1, x20
	bl	_strsep
	ldr	x1, [sp, #16]
	cbnz	x1, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x21
	b	LBB0_3
LBB0_6:
Lloh7:
	adrp	x8, _xlp_hw_thread_mask@GOTPAGE
Lloh8:
	ldr	x8, [x8, _xlp_hw_thread_mask@GOTPAGEOFF]
Lloh9:
	str	w0, [x8]
	b	LBB0_11
LBB0_7:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #12
	bl	_getenv_uint
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [sp, #12]
Lloh12:
	adrp	x9, _xlp_hw_thread_mask@GOTPAGE
Lloh13:
	ldr	x9, [x9, _xlp_hw_thread_mask@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
LBB0_9:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_kern_getenv
	str	x0, [sp, #16]
	cbz	x0, LBB0_11
; %bb.10:
	mov	x1, x0
	add	x0, sp, #24
	mov	w2, #2048
	bl	_strlcpy
	add	x0, sp, #24
	bl	_boot_parse_cmdline
Lloh17:
	adrp	x8, _boothowto@GOTPAGE
Lloh18:
	ldr	x8, [x8, _boothowto@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	ldr	x0, [sp, #16]
	bl	_freeenv
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	add	sp, sp, #2080
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_xlp_hw_thread_mask,4,2         ; @xlp_hw_thread_mask
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"="

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

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

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

	.comm	_boothowto,4,2                  ; @boothowto
	.no_dead_strip	_xlp_bootargs_init
.subsections_via_symbols
