	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PATH_LOADER@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movl	%edi, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	%r12, %r13
	cmpq	%rbx, %r15
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %r12
	cmpb	$45, (%r12)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
	movq	%r13, %r12
	jmp	LBB0_5
LBB0_1:
	movq	%r13, %r12
LBB0_6:
	movq	_bootpath@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_printf
	movq	(%rbx), %rdi
	callq	_domount
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
LBB0_8:
	movq	%r12, %rdi
	callq	_load
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_LOADER,8,3                ## @PATH_LOADER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" \n>> FreeBSD/sparc64 boot block\n   Boot path:   %s\n   Boot loader: %s\n"

	.comm	_bootpath,8,3                   ## @bootpath
L_.str.1:                               ## @.str.1
	.asciz	"domount"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _PATH_LOADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATH_LOADER@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, x1
	mov	w21, w0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #8
	mov	x22, x19
	subs	x21, x21, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x20]
	ldrb	w8, [x19]
	cmp	w8, #45
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
	mov	x19, x22
	b	LBB0_2
LBB0_5:
	mov	x19, x22
LBB0_6:
Lloh3:
	adrp	x20, _bootpath@GOTPAGE
Lloh4:
	ldr	x20, [x20, _bootpath@GOTPAGEOFF]
	ldr	x1, [x20]
	str	x19, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	x0, [x20]
	bl	_domount
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_8:
	mov	x0, x19
	bl	_load
	mov	w0, #1
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_LOADER,8,3                ; @PATH_LOADER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" \n>> FreeBSD/sparc64 boot block\n   Boot path:   %s\n   Boot loader: %s\n"

	.comm	_bootpath,8,3                   ; @bootpath
l_.str.1:                               ; @.str.1
	.asciz	"domount"

.subsections_via_symbols
