	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OS_getSystemInitialLoadParameters ## -- Begin function OS_getSystemInitialLoadParameters
	.p2align	4, 0x90
_OS_getSystemInitialLoadParameters:     ## @OS_getSystemInitialLoadParameters
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_boot_line@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	%rax, (%rbx)
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_CTL_KERN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_KERN_BOOTFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	$0, -48(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rcx
	movl	$2, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_4:
	callq	_syslog
LBB0_5:
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_13
## %bb.7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-48(%rbp), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%rax, %r14
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rcx
	movl	$2, %esi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_syslog
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_11:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_12:
	movq	%r14, (%r15)
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_HRDBG
	movq	(%r15), %rax
	jmp	LBB0_1
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_boot_line,8,3                  ## @boot_line
	.comm	_CTL_KERN,4,2                   ## @CTL_KERN
	.comm	_KERN_BOOTFILE,4,2              ## @KERN_BOOTFILE
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sysctl({CTL_KERN,KERN_BOOTFILE}) failed: %m"

	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
L_.str.1:                               ## @.str.1
	.asciz	"malloc failed"

L_.str.2:                               ## @.str.2
	.asciz	"kernel boot file: %s"

	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OS_getSystemInitialLoadParameters ; -- Begin function OS_getSystemInitialLoadParameters
	.p2align	2
_OS_getSystemInitialLoadParameters:     ; @OS_getSystemInitialLoadParameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x21, _boot_line@GOTPAGE
Lloh4:
	ldr	x21, [x21, _boot_line@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_2
LBB0_1:
	str	x8, [x19]
Lloh5:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh7:
	adrp	x8, _CTL_KERN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CTL_KERN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _KERN_BOOTFILE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _KERN_BOOTFILE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	str	xzr, [sp, #8]
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #2
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cbz	x0, LBB0_8
; %bb.3:
Lloh13:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	bl	_syslog
LBB0_5:
Lloh18:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	x0, [sp, #8]
	bl	_malloc
	cbz	x0, LBB0_11
; %bb.9:
	mov	x20, x0
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #2
	mov	x2, x20
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cbz	x0, LBB0_12
; %bb.10:
Lloh23:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
	mov	x0, x20
	bl	_free
	b	LBB0_5
LBB0_11:
Lloh28:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_12:
	str	x20, [x21]
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_HRDBG
	ldr	x8, [x21]
	b	LBB0_1
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_boot_line,8,3                  ; @boot_line
	.comm	_CTL_KERN,4,2                   ; @CTL_KERN
	.comm	_KERN_BOOTFILE,4,2              ; @KERN_BOOTFILE
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sysctl({CTL_KERN,KERN_BOOTFILE}) failed: %m"

	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
l_.str.1:                               ; @.str.1
	.asciz	"malloc failed"

l_.str.2:                               ; @.str.2
	.asciz	"kernel boot file: %s"

	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
.subsections_via_symbols
