	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_flags                ## -- Begin function parse_opt_flags
	.p2align	4, 0x90
_parse_opt_flags:                       ## @parse_opt_flags
	.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, %rbx
	callq	_required_arg
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_fw_header@GOTPCREL(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_str2u32
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	callq	_errmsg
	jmp	LBB0_4
LBB0_3:
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_dbgmsg
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_header,4,2                  ## @fw_header
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid firmware flags: %s"

L_.str.1:                               ## @.str.1
	.asciz	"firmware flags set to %X bytes"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_flags                ; -- Begin function parse_opt_flags
	.p2align	2
_parse_opt_flags:                       ; @parse_opt_flags
	.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
	mov	x19, x1
	bl	_required_arg
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x20, _fw_header@GOTPAGE
Lloh1:
	ldr	x20, [x20, _fw_header@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_str2u32
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	x2, x19
	bl	_errmsg
	mov	w0, #-1
	b	LBB0_5
LBB0_4:
	ldr	w2, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dbgmsg
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_header,4,2                  ; @fw_header
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid firmware flags: %s"

l_.str.1:                               ; @.str.1
	.asciz	"firmware flags set to %X bytes"

.subsections_via_symbols
