	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_options                  ## -- Begin function check_options
	.p2align	4, 0x90
_check_options:                         ## @check_options
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_rootfs@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_out@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_board_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.6:
	movq	_version_name@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.8:
	movq	_rootfs_size@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_9
## %bb.10:
	callq	_strlen
	xorl	%ebx, %ebx
	cmpl	$32, %eax
	jl	LBB0_13
## %bb.11:
	movl	$-7, %ebx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_12
LBB0_1:
	movl	$-2, %ebx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_12
LBB0_3:
	movl	$-3, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_12
LBB0_5:
	movl	$-4, %ebx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_7:
	movl	$-5, %ebx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_12
LBB0_9:
	movl	$-6, %ebx
	leaq	L_.str.4(%rip), %rdi
LBB0_12:
	callq	_ERR
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rootfs,4,2                     ## @rootfs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No rootfs filename supplied"

	.comm	_out,4,2                        ## @out
L_.str.1:                               ## @.str.1
	.asciz	"No output filename supplied"

	.comm	_board_name,4,2                 ## @board_name
L_.str.2:                               ## @.str.2
	.asciz	"No board-name supplied"

	.comm	_version_name,4,2               ## @version_name
L_.str.3:                               ## @.str.3
	.asciz	"No version supplied"

	.comm	_rootfs_size,8,3                ## @rootfs_size
L_.str.4:                               ## @.str.4
	.asciz	"Invalid rootfs size supplied"

L_.str.5:                               ## @.str.5
	.asciz	"Board name is to long"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_options                  ; -- Begin function check_options
	.p2align	2
_check_options:                         ; @check_options
	.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, _rootfs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rootfs@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _out@GOTPAGE
Lloh4:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.2:
Lloh6:
	adrp	x8, _board_name@GOTPAGE
Lloh7:
	ldr	x8, [x8, _board_name@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	cbz	w0, LBB0_9
; %bb.3:
Lloh9:
	adrp	x8, _version_name@GOTPAGE
Lloh10:
	ldr	x8, [x8, _version_name@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.4:
Lloh12:
	adrp	x8, _rootfs_size@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rootfs_size@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.5:
	bl	_strlen
	cmp	w0, #32
	b.lt	LBB0_14
; %bb.6:
	mov	w19, #-7
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_7:
	mov	w19, #-2
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_12
LBB0_8:
	mov	w19, #-3
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_9:
	mov	w19, #-4
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_10:
	mov	w19, #-5
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_11:
	mov	w19, #-6
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_12:
	bl	_ERR
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w19, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_rootfs,4,2                     ; @rootfs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No rootfs filename supplied"

	.comm	_out,4,2                        ; @out
l_.str.1:                               ; @.str.1
	.asciz	"No output filename supplied"

	.comm	_board_name,4,2                 ; @board_name
l_.str.2:                               ; @.str.2
	.asciz	"No board-name supplied"

	.comm	_version_name,4,2               ; @version_name
l_.str.3:                               ; @.str.3
	.asciz	"No version supplied"

	.comm	_rootfs_size,8,3                ; @rootfs_size
l_.str.4:                               ; @.str.4
	.asciz	"Invalid rootfs size supplied"

l_.str.5:                               ; @.str.5
	.asciz	"Board name is to long"

.subsections_via_symbols
