	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_images                 ## -- Begin function process_images
	.p2align	4, 0x90
_process_images:                        ## @process_images
	.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	_board@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	4(%rax), %eax
	movq	_kernel_image@GOTPCREL(%rip), %rdi
	movl	%eax, 8(%rdi)
	movq	_DEFAULT_PADC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, (%rdi)
	callq	_image_stat_file
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	_fs_image@GOTPCREL(%rip), %rdi
	cmpl	$0, 12(%rdi)
	je	LBB0_2
## %bb.4:
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	(%rbx), %rax
	movq	%rax, (%rdi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_image_stat_file                ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_board,8,3                      ## @board
	.comm	_kernel_image,16,3              ## @kernel_image
	.comm	_DEFAULT_PADC,8,3               ## @DEFAULT_PADC
	.comm	_fs_image,16,3                  ## @fs_image
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_images                 ; -- Begin function process_images
	.p2align	2
_process_images:                        ; @process_images
	.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	x19, _board@GOTPAGE
Lloh1:
	ldr	x19, [x19, _board@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x0, _kernel_image@GOTPAGE
Lloh3:
	ldr	x0, [x0, _kernel_image@GOTPAGEOFF]
	ldr	w8, [x8, #4]
	str	w8, [x0, #8]
Lloh4:
	adrp	x20, _DEFAULT_PADC@GOTPAGE
Lloh5:
	ldr	x20, [x20, _DEFAULT_PADC@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x0]
	bl	_image_stat_file
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x0, _fs_image@GOTPAGE
Lloh7:
	ldr	x0, [x0, _fs_image@GOTPAGEOFF]
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	x8, [x20]
	str	x8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_image_stat_file
LBB0_4:
	mov	w0, #0
	b	LBB0_1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_board,8,3                      ; @board
	.comm	_kernel_image,16,3              ; @kernel_image
	.comm	_DEFAULT_PADC,8,3               ; @DEFAULT_PADC
	.comm	_fs_image,16,3                  ; @fs_image
.subsections_via_symbols
