	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_block                ## -- Begin function parse_opt_block
	.p2align	4, 0x90
_parse_opt_block:                       ## @parse_opt_block
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_ARG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MAX_ARG_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_required_arg
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_27
## %bb.1:
	movq	_fw_num_blocks@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_MAX_FW_BLOCKS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_parse_arg
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r12, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dbgmsg
	movq	_fw_blocks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r13
	leaq	1(%r13), %rax
	movq	%rax, (%rbx)
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	xorl	%edi, %edi
	movq	%r12, %rdx
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rsi
LBB0_25:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_26
LBB0_7:
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	leaq	(%r13,%r13,2), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %rsi
	addq	$16, %rsi
	movq	%rbx, %rdi
	callq	_str2u32
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
LBB0_9:
	xorl	%edi, %edi
	movq	%rbx, %rdx
LBB0_6:
	xorl	%eax, %eax
	callq	_errmsg
LBB0_26:
	movl	$-1, %ebx
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.28:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_5
LBB0_12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %rsi
	addq	$12, %rsi
	movq	%rbx, %rdi
	callq	_str2u32
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_9
LBB0_14:
	cmpl	$2, -60(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_16
## %bb.15:
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$1, %edi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_dbgmsg
	jmp	LBB0_27
LBB0_16:
	movq	16(%r14), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	jne	LBB0_21
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %rax
	addq	$8, %rax
	movq	_BLOCK_FLAG_HAVEHDR@GOTPCREL(%rip), %rcx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edx
	cmpl	$104, %edx
	jne	LBB0_19
## %bb.29:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	(%rcx), %edx
	orl	%edx, (%rax)
	incq	%rbx
	jmp	LBB0_18
LBB0_19:
	testb	%dl, %dl
	jne	LBB0_20
LBB0_21:
	movq	24(%r14), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_5
LBB0_23:
	movq	%rbx, %rdi
	callq	_strdup
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_27
## %bb.24:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_25
LBB0_20:
	leaq	L_.str.7(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_26
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ARG_LEN,4,2                ## @MAX_ARG_LEN
	.comm	_MAX_ARG_COUNT,4,2              ## @MAX_ARG_COUNT
	.comm	_fw_num_blocks,8,3              ## @fw_num_blocks
	.comm	_MAX_FW_BLOCKS,8,3              ## @MAX_FW_BLOCKS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many blocks specified"

L_.str.1:                               ## @.str.1
	.asciz	"processing block option %s, count %d"

	.comm	_fw_blocks,8,3                  ## @fw_blocks
L_.str.2:                               ## @.str.2
	.asciz	"no block address specified in %s"

L_.str.3:                               ## @.str.3
	.asciz	"invalid block address: %s"

L_.str.4:                               ## @.str.4
	.asciz	"no block length specified in %s"

L_.str.5:                               ## @.str.5
	.asciz	"invalid block length: %s"

L_.str.6:                               ## @.str.6
	.asciz	"empty block %s"

	.comm	_BLOCK_FLAG_HAVEHDR,4,2         ## @BLOCK_FLAG_HAVEHDR
L_.str.7:                               ## @.str.7
	.asciz	"invalid block flag \"%c\""

L_.str.8:                               ## @.str.8
	.asciz	"file name missing in %s"

L_.str.9:                               ## @.str.9
	.asciz	"not enough memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_block                ; -- Begin function parse_opt_block
	.p2align	2
_parse_opt_block:                       ; @parse_opt_block
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_ARG_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_ARG_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _MAX_ARG_COUNT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_ARG_COUNT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_required_arg
	cbnz	x0, LBB0_13
; %bb.1:
Lloh13:
	adrp	x22, _fw_num_blocks@GOTPAGE
Lloh14:
	ldr	x22, [x22, _fw_num_blocks@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh15:
	adrp	x9, _MAX_FW_BLOCKS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MAX_FW_BLOCKS@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_parse_arg
	mov	x21, x0
	str	x21, [sp, #-16]!
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_dbgmsg
	add	sp, sp, #16
Lloh20:
	adrp	x8, _fw_blocks@GOTPAGE
Lloh21:
	ldr	x8, [x8, _fw_blocks@GOTPAGEOFF]
Lloh22:
	ldr	x23, [x8]
	ldr	x24, [x22]
	add	x8, x24, #1
	str	x8, [x22]
	ldr	x22, [x20]
	mov	x0, x22
	bl	_is_empty_arg
	cbz	x0, LBB0_6
; %bb.3:
	str	x19, [sp, #-16]!
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_4:
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
LBB0_5:
	bl	_errmsg
	b	LBB0_13
LBB0_6:
	mov	w8, #24
	madd	x8, x24, x8, x23
	add	x1, x8, #16
	mov	x0, x22
	bl	_str2u32
	cbz	x0, LBB0_8
; %bb.7:
	str	x22, [sp, #-16]!
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_8:
	ldr	x22, [x20, #8]
	mov	x0, x22
	bl	_is_empty_arg
	cbz	x0, LBB0_10
; %bb.9:
	str	x19, [sp, #-16]!
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_10:
	mov	w8, #24
	madd	x8, x24, x8, x23
	add	x1, x8, #12
	mov	x0, x22
	bl	_str2u32
	cbz	x0, LBB0_16
; %bb.11:
	str	x22, [sp, #-16]!
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_12:
	mov	w0, #0
	bl	_errmsg
	add	sp, sp, #16
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldur	x8, [x29, #-56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.15:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
	cmp	w21, #2
	b.gt	LBB0_18
; %bb.17:
Lloh36:
	adrp	x1, l_.str.6@PAGE
Lloh37:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_dbgmsg
	mov	w0, #0
	b	LBB0_14
LBB0_18:
	ldr	x21, [x20, #16]
	mov	x0, x21
	bl	_is_empty_arg
	cbnz	x0, LBB0_23
; %bb.19:
	mov	w8, #24
	madd	x8, x24, x8, x23
	add	x8, x8, #8
Lloh38:
	adrp	x9, _BLOCK_FLAG_HAVEHDR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _BLOCK_FLAG_HAVEHDR@GOTPAGEOFF]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x21]
	cmp	w10, #104
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w10, [x9]
	ldr	w11, [x8]
	orr	w10, w11, w10
	str	w10, [x8]
	add	x21, x21, #1
	b	LBB0_20
LBB0_22:
	cbnz	w10, LBB0_27
LBB0_23:
	ldr	x20, [x20, #24]
	mov	x0, x20
	bl	_is_empty_arg
	cbz	x0, LBB0_25
; %bb.24:
	str	x19, [sp, #-16]!
Lloh40:
	adrp	x1, l_.str.8@PAGE
Lloh41:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_25:
	mov	x0, x20
	bl	_strdup
	mov	w8, #24
	mul	x8, x24, x8
	str	x0, [x23, x8]
	cbz	x0, LBB0_28
; %bb.26:
	mov	w0, #0
	b	LBB0_14
LBB0_27:
	sxtb	w8, w10
	str	x8, [sp, #-16]!
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_12
LBB0_28:
Lloh44:
	adrp	x1, l_.str.9@PAGE
Lloh45:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_5
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ARG_LEN,4,2                ; @MAX_ARG_LEN
	.comm	_MAX_ARG_COUNT,4,2              ; @MAX_ARG_COUNT
	.comm	_fw_num_blocks,8,3              ; @fw_num_blocks
	.comm	_MAX_FW_BLOCKS,8,3              ; @MAX_FW_BLOCKS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many blocks specified"

l_.str.1:                               ; @.str.1
	.asciz	"processing block option %s, count %d"

	.comm	_fw_blocks,8,3                  ; @fw_blocks
l_.str.2:                               ; @.str.2
	.asciz	"no block address specified in %s"

l_.str.3:                               ; @.str.3
	.asciz	"invalid block address: %s"

l_.str.4:                               ; @.str.4
	.asciz	"no block length specified in %s"

l_.str.5:                               ; @.str.5
	.asciz	"invalid block length: %s"

l_.str.6:                               ; @.str.6
	.asciz	"empty block %s"

	.comm	_BLOCK_FLAG_HAVEHDR,4,2         ; @BLOCK_FLAG_HAVEHDR
l_.str.7:                               ; @.str.7
	.asciz	"invalid block flag \"%c\""

l_.str.8:                               ; @.str.8
	.asciz	"file name missing in %s"

l_.str.9:                               ; @.str.9
	.asciz	"not enough memory"

.subsections_via_symbols
