	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_boot_params
_copy_boot_params:                      ## @copy_boot_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_OLD_CL_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$1, %edi
	callq	_BUILD_BUG_ON
	movq	_boot_params@GOTPCREL(%rip), %r14
	movq	_hdr@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	cmpq	$0, (%r14)
	jne	LBB0_6
## %bb.1:
	movslq	(%rbx), %rax
	movq	_OLD_CL_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_6
## %bb.2:
	movslq	4(%rbx), %rcx
	cmpq	%rcx, 8(%r14)
	jle	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	callq	_ds
	shll	$4, %eax
	movl	4(%rbx), %ecx
	jmp	LBB0_5
LBB0_3:
	movl	$589824, %eax                   ## imm = 0x90000
LBB0_5:
	addl	%eax, %ecx
	movslq	%ecx, %rax
	movq	%rax, (%r14)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OLD_CL_ADDRESS,8,3             ## @OLD_CL_ADDRESS
	.comm	_boot_params,16,3               ## @boot_params
	.comm	_hdr,4,2                        ## @hdr
	.comm	_OLD_CL_MAGIC,8,3               ## @OLD_CL_MAGIC
	.no_dead_strip	_copy_boot_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_boot_params
_copy_boot_params:                      ; @copy_boot_params
	.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
Lloh0:
	adrp	x8, _OLD_CL_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OLD_CL_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	mov	w0, #1
	bl	_BUILD_BUG_ON
Lloh3:
	adrp	x19, _boot_params@GOTPAGE
Lloh4:
	ldr	x19, [x19, _boot_params@GOTPAGEOFF]
Lloh5:
	adrp	x1, _hdr@GOTPAGE
Lloh6:
	ldr	x1, [x1, _hdr@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19]
	cbnz	x8, LBB0_6
; %bb.1:
	ldrsw	x8, [x20]
Lloh7:
	adrp	x9, _OLD_CL_MAGIC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OLD_CL_MAGIC@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.2:
	ldrsw	x8, [x20, #4]
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.le	LBB0_4
; %bb.3:
	bl	_ds
	lsl	w9, w0, #4
	ldr	w8, [x20, #4]
	b	LBB0_5
LBB0_4:
	mov	w9, #589824
LBB0_5:
	add	w8, w8, w9
	sxtw	x8, w8
	str	x8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_OLD_CL_ADDRESS,8,3             ; @OLD_CL_ADDRESS
	.comm	_boot_params,16,3               ; @boot_params
	.comm	_hdr,4,2                        ; @hdr
	.comm	_OLD_CL_MAGIC,8,3               ; @OLD_CL_MAGIC
	.no_dead_strip	_copy_boot_params
.subsections_via_symbols
