	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_board                ## -- Begin function parse_opt_board
	.p2align	4, 0x90
_parse_opt_board:                       ## @parse_opt_board
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_DBG
	movq	_board@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_5
LBB0_2:
	movsbl	%bl, %edi
	movq	%r14, %rsi
	callq	_required_arg
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	callq	_find_board
	movq	%rax, %rcx
	movq	%rax, (%r15)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parsing board option: -%c %s"

	.comm	_board,8,3                      ## @board
L_.str.1:                               ## @.str.1
	.asciz	"only one board option allowed"

	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
L_.str.2:                               ## @.str.2
	.asciz	"invalid/unknown board specified: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_board                ; -- Begin function parse_opt_board
	.p2align	2
_parse_opt_board:                       ; @parse_opt_board
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	mov	x3, x19
	bl	_DBG
Lloh2:
	adrp	x21, _board@GOTPAGE
Lloh3:
	ldr	x21, [x21, _board@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_2:
	bl	_ERR
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_required_arg
	cbz	x0, LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_5:
	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
LBB0_6:
	mov	x0, x19
	bl	_find_board
	str	x0, [x21]
	cbz	x0, LBB0_8
; %bb.7:
	mov	w0, #0
	b	LBB0_5
LBB0_8:
	str	x19, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parsing board option: -%c %s"

	.comm	_board,8,3                      ; @board
l_.str.1:                               ; @.str.1
	.asciz	"only one board option allowed"

	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
l_.str.2:                               ; @.str.2
	.asciz	"invalid/unknown board specified: %s"

.subsections_via_symbols
