	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_partition            ## -- Begin function parse_opt_partition
	.p2align	4, 0x90
_parse_opt_partition:                   ## @parse_opt_partition
	.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	$40, %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, %r13
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_required_arg
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	_fw_num_partitions@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_MYLO_MAX_PARTITIONS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jge	LBB0_5
## %bb.2:
	movq	_fw_parts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	1(%r14), %rcx
	movq	%rcx, (%rax)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_parse_arg
	movq	(%r13), %r15
	movq	%r15, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movsbl	%bl, %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	xorl	%edi, %edi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_10
LBB0_5:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_10
LBB0_6:
	leaq	(%r14,%r14,4), %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rsi
	addq	$8, %rsi
	movq	%r15, %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	callq	_str2u32
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	xorl	%edi, %edi
	movq	%r15, %rdx
LBB0_9:
	xorl	%eax, %eax
	callq	_errmsg
LBB0_10:
	movl	$-1, %ecx
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_44
## %bb.12:
	movl	%ecx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r14, %rax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r15
	movq	%r15, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movsbl	%bl, %edx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_15:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,8), %rbx
	addq	$16, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_str2u32
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_8
LBB0_17:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	je	LBB0_22
LBB0_18:
	movq	24(%r13), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r12,8), %rsi
	addq	$32, %rsi
	testq	%rax, %rax
	je	LBB0_30
## %bb.19:
	movq	$0, (%rsi)
LBB0_20:
	movq	32(%r13), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r12,8), %rdi
	testq	%rax, %rax
	je	LBB0_32
## %bb.21:
	movb	$0, (%rdi)
	jmp	LBB0_33
LBB0_22:
	movb	(%rbx), %dl
	testb	%dl, %dl
	je	LBB0_18
## %bb.23:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,8), %rax
	addq	$24, %rax
	incq	%rbx
	movq	_PARTITION_FLAG_ACTIVE@GOTPCREL(%rip), %r11
	leaq	LJTI0_0(%rip), %rsi
	movq	_PARTITION_FLAG_HAVEHDR@GOTPCREL(%rip), %r8
	movq	_PARTITION_FLAG_LZMA@GOTPCREL(%rip), %r9
	movq	_PARTITION_FLAG_PRELOAD@GOTPCREL(%rip), %r10
	jmp	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r10, %rcx
LBB0_25:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	movzbl	(%rbx), %edx
	incq	%rbx
	testb	%dl, %dl
	je	LBB0_18
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%dl, %edx
	leal	-97(%rdx), %ecx
	cmpl	$15, %ecx
	ja	LBB0_43
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movslq	(%rsi,%rcx,4), %rdi
	addq	%rsi, %rdi
	movq	%r11, %rcx
	jmpq	*%rdi
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r8, %rcx
	jmp	LBB0_25
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r9, %rcx
	jmp	LBB0_25
LBB0_30:
	movq	%rbx, %rdi
	callq	_str2u32
	testq	%rax, %rax
	je	LBB0_20
## %bb.31:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_39
LBB0_32:
	movq	_PART_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_strncpy
LBB0_33:
	movq	%r14, %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$0, (%rdx)
	jne	LBB0_35
## %bb.34:
	movq	_flash_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	(%rcx), %rax
	movq	%rax, (%rdx)
LBB0_35:
	movq	40(%r13), %rbx
	movq	%rbx, %rdi
	callq	_is_empty_arg
	testq	%rax, %rax
	je	LBB0_37
LBB0_36:
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_37:
	movq	_fw_num_blocks@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_MAX_FW_BLOCKS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	jne	LBB0_40
## %bb.38:
	leaq	L_.str.7(%rip), %rsi
LBB0_39:
	xorl	%edi, %edi
	movq	%rbx, %rdx
	jmp	LBB0_9
LBB0_40:
	movq	_fw_blocks@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	leaq	1(%r15), %rcx
	movq	%rcx, (%rax)
	movq	%rbx, %rdi
	callq	_strdup
	leaq	(%r15,%r15,2), %rcx
	movl	%eax, 20(%r13,%rcx,8)
	movups	(%r14), %xmm0
	movups	%xmm0, (%r13,%rcx,8)
	movq	_PARTITION_FLAG_HAVEHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testl	%eax, 24(%rsi,%rdx,8)
	je	LBB0_36
## %bb.41:
	movq	_BLOCK_FLAG_HAVEHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r13,%rcx,8)
	jmp	LBB0_36
LBB0_43:
	leaq	L_.str.5(%rip), %rsi
	xorl	%edi, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_10
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_25
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_28
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_29
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_43
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_MAX_ARG_LEN,4,2                ## @MAX_ARG_LEN
	.comm	_MAX_ARG_COUNT,4,2              ## @MAX_ARG_COUNT
	.comm	_fw_num_partitions,8,3          ## @fw_num_partitions
	.comm	_MYLO_MAX_PARTITIONS,8,3        ## @MYLO_MAX_PARTITIONS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many partitions specified"

	.comm	_fw_parts,8,3                   ## @fw_parts
L_.str.1:                               ## @.str.1
	.asciz	"partition address missing in -%c %s"

L_.str.2:                               ## @.str.2
	.asciz	"invalid partition address: %s"

L_.str.3:                               ## @.str.3
	.asciz	"partition size missing in -%c %s"

L_.str.4:                               ## @.str.4
	.asciz	"invalid partition size: %s"

	.comm	_PARTITION_FLAG_ACTIVE,4,2      ## @PARTITION_FLAG_ACTIVE
	.comm	_PARTITION_FLAG_PRELOAD,4,2     ## @PARTITION_FLAG_PRELOAD
	.comm	_PARTITION_FLAG_LZMA,4,2        ## @PARTITION_FLAG_LZMA
	.comm	_PARTITION_FLAG_HAVEHDR,4,2     ## @PARTITION_FLAG_HAVEHDR
L_.str.5:                               ## @.str.5
	.asciz	"invalid partition flag \"%c\""

L_.str.6:                               ## @.str.6
	.asciz	"invalid partition parameter: %s"

	.comm	_PART_NAME_LEN,4,2              ## @PART_NAME_LEN
	.comm	_flash_size,8,3                 ## @flash_size
	.comm	_fw_num_blocks,8,3              ## @fw_num_blocks
	.comm	_MAX_FW_BLOCKS,8,3              ## @MAX_FW_BLOCKS
L_.str.7:                               ## @.str.7
	.asciz	"too many blocks specified"

	.comm	_fw_blocks,8,3                  ## @fw_blocks
	.comm	_BLOCK_FLAG_HAVEHDR,4,2         ## @BLOCK_FLAG_HAVEHDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_opt_partition            ; -- Begin function parse_opt_partition
	.p2align	2
_parse_opt_partition:                   ; @parse_opt_partition
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
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	x20, x9, x8
	mov	sp, x20
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	x19, x9, x8
	mov	sp, x19
	bl	_required_arg
	cbnz	x0, LBB0_12
; %bb.1:
Lloh13:
	adrp	x8, _fw_num_partitions@GOTPAGE
Lloh14:
	ldr	x8, [x8, _fw_num_partitions@GOTPAGEOFF]
	ldr	x24, [x8]
Lloh15:
	adrp	x9, _MYLO_MAX_PARTITIONS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MYLO_MAX_PARTITIONS@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x24, x9
	b.ge	LBB0_4
; %bb.2:
Lloh18:
	adrp	x9, _fw_parts@GOTPAGE
Lloh19:
	ldr	x9, [x9, _fw_parts@GOTPAGEOFF]
Lloh20:
	ldr	x25, [x9]
	add	x9, x24, #1
	str	x9, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_parse_arg
	ldr	x23, [x19]
	mov	x0, x23
	bl	_is_empty_arg
	cbz	x0, LBB0_5
; %bb.3:
	sxtw	x8, w22
	stp	x8, x21, [sp, #-16]!
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_4:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_errmsg
	b	LBB0_12
LBB0_5:
	mov	w8, #40
	madd	x8, x24, x8, x25
	add	x20, x8, #8
	mov	x0, x23
	mov	x1, x20
	bl	_str2u32
	cbz	x0, LBB0_7
; %bb.6:
	str	x23, [sp, #-16]!
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_7:
	ldr	x23, [x19, #8]
	mov	x0, x23
	bl	_is_empty_arg
	cbz	x0, LBB0_9
; %bb.8:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x8, w22
	stp	x8, x21, [sp, #-16]!
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:
	mov	w8, #40
	madd	x8, x24, x8, x25
	add	x21, x8, #16
	mov	x0, x23
	mov	x1, x21
	bl	_str2u32
	cbz	x0, LBB0_15
; %bb.10:
	str	x23, [sp, #-16]!
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_11:
	mov	w0, #0
	bl	_errmsg
	add	sp, sp, #16
LBB0_12:
	mov	w0, #-1
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.14:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	x22, [x19, #16]
	mov	x0, x22
	bl	_is_empty_arg
	cbz	x0, LBB0_20
LBB0_16:
	ldr	x22, [x19, #24]
	mov	x0, x22
	bl	_is_empty_arg
	mov	w8, #40
	mul	x8, x24, x8
	add	x8, x25, x8
	add	x1, x8, #32
	cbz	x0, LBB0_28
; %bb.17:
	str	xzr, [x1]
LBB0_18:
	ldr	x22, [x19, #32]
	mov	x0, x22
	bl	_is_empty_arg
	mov	x8, x0
	mov	w9, #40
	mul	x9, x24, x9
	ldr	x0, [x25, x9]
	cbz	x8, LBB0_30
; %bb.19:
	strb	wzr, [x0]
	b	LBB0_31
LBB0_20:
	ldrb	w15, [x22]
	cbz	w15, LBB0_16
; %bb.21:
	mov	w8, #40
	madd	x8, x24, x8, x25
	add	x8, x8, #24
	add	x9, x22, #1
Lloh34:
	adrp	x10, _PARTITION_FLAG_ACTIVE@GOTPAGE
Lloh35:
	ldr	x10, [x10, _PARTITION_FLAG_ACTIVE@GOTPAGEOFF]
Lloh36:
	adrp	x11, lJTI0_0@PAGE
Lloh37:
	add	x11, x11, lJTI0_0@PAGEOFF
Lloh38:
	adrp	x12, _PARTITION_FLAG_HAVEHDR@GOTPAGE
Lloh39:
	ldr	x12, [x12, _PARTITION_FLAG_HAVEHDR@GOTPAGEOFF]
Lloh40:
	adrp	x13, _PARTITION_FLAG_LZMA@GOTPAGE
Lloh41:
	ldr	x13, [x13, _PARTITION_FLAG_LZMA@GOTPAGEOFF]
Lloh42:
	adrp	x14, _PARTITION_FLAG_PRELOAD@GOTPAGE
Lloh43:
	ldr	x14, [x14, _PARTITION_FLAG_PRELOAD@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x16, x14
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	w15, [x16]
	ldr	w16, [x8]
	orr	w15, w16, w15
	str	w15, [x8]
	ldrb	w15, [x9], #1
	cbz	w15, LBB0_16
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w15, w15
	sub	w16, w15, #97
	cmp	w16, #15
	b.hi	LBB0_39
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	adr	x17, LBB0_22
	ldrb	w0, [x11, x16]
	add	x17, x17, x0, lsl #2
	mov	x16, x10
	br	x17
LBB0_26:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x16, x12
	b	LBB0_23
LBB0_27:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x16, x13
	b	LBB0_23
LBB0_28:
	mov	x0, x22
	bl	_str2u32
	cbz	x0, LBB0_18
; %bb.29:
	str	x22, [sp, #-16]!
Lloh44:
	adrp	x1, l_.str.6@PAGE
Lloh45:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_30:
Lloh46:
	adrp	x8, _PART_NAME_LEN@GOTPAGE
Lloh47:
	ldr	x8, [x8, _PART_NAME_LEN@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_strncpy
LBB0_31:
	ldr	x8, [x21]
	cbnz	x8, LBB0_33
; %bb.32:
Lloh49:
	adrp	x8, _flash_size@GOTPAGE
Lloh50:
	ldr	x8, [x8, _flash_size@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	ldr	x9, [x20]
	sub	x8, x8, x9
	str	x8, [x21]
LBB0_33:
	ldr	x19, [x19, #40]
	mov	x0, x19
	bl	_is_empty_arg
	cbz	x0, LBB0_35
LBB0_34:
	mov	w0, #0
	b	LBB0_13
LBB0_35:
Lloh52:
	adrp	x8, _fw_num_blocks@GOTPAGE
Lloh53:
	ldr	x8, [x8, _fw_num_blocks@GOTPAGEOFF]
	ldr	x21, [x8]
Lloh54:
	adrp	x9, _MAX_FW_BLOCKS@GOTPAGE
Lloh55:
	ldr	x9, [x9, _MAX_FW_BLOCKS@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x21, x9
	b.ne	LBB0_37
; %bb.36:
	str	x19, [sp, #-16]!
Lloh57:
	adrp	x1, l_.str.7@PAGE
Lloh58:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_37:
Lloh59:
	adrp	x9, _fw_blocks@GOTPAGE
Lloh60:
	ldr	x9, [x9, _fw_blocks@GOTPAGEOFF]
Lloh61:
	ldr	x22, [x9]
	add	x9, x21, #1
	str	x9, [x8]
	mov	x0, x19
	bl	_strdup
	mov	w8, #24
	madd	x8, x21, x8, x22
	str	w0, [x8, #20]
	ldr	q0, [x20]
	str	q0, [x8]
	mov	w8, #40
	mul	x8, x24, x8
	add	x8, x25, x8
	ldr	w8, [x8, #24]
Lloh62:
	adrp	x9, _PARTITION_FLAG_HAVEHDR@GOTPAGE
Lloh63:
	ldr	x9, [x9, _PARTITION_FLAG_HAVEHDR@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.38:
	mov	w0, #0
Lloh65:
	adrp	x8, _BLOCK_FLAG_HAVEHDR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _BLOCK_FLAG_HAVEHDR@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	mov	w9, #24
	madd	x9, x21, x9, x22
	ldr	w10, [x9, #16]
	orr	w8, w10, w8
	str	w8, [x9, #16]
	b	LBB0_13
LBB0_39:
	str	x15, [sp, #-16]!
Lloh68:
	adrp	x1, l_.str.5@PAGE
Lloh69:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_40:
	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	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_27-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_39-LBB0_22)>>2
	.byte	(LBB0_22-LBB0_22)>>2
                                        ; -- End function
	.comm	_MAX_ARG_LEN,4,2                ; @MAX_ARG_LEN
	.comm	_MAX_ARG_COUNT,4,2              ; @MAX_ARG_COUNT
	.comm	_fw_num_partitions,8,3          ; @fw_num_partitions
	.comm	_MYLO_MAX_PARTITIONS,8,3        ; @MYLO_MAX_PARTITIONS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many partitions specified"

	.comm	_fw_parts,8,3                   ; @fw_parts
l_.str.1:                               ; @.str.1
	.asciz	"partition address missing in -%c %s"

l_.str.2:                               ; @.str.2
	.asciz	"invalid partition address: %s"

l_.str.3:                               ; @.str.3
	.asciz	"partition size missing in -%c %s"

l_.str.4:                               ; @.str.4
	.asciz	"invalid partition size: %s"

	.comm	_PARTITION_FLAG_ACTIVE,4,2      ; @PARTITION_FLAG_ACTIVE
	.comm	_PARTITION_FLAG_PRELOAD,4,2     ; @PARTITION_FLAG_PRELOAD
	.comm	_PARTITION_FLAG_LZMA,4,2        ; @PARTITION_FLAG_LZMA
	.comm	_PARTITION_FLAG_HAVEHDR,4,2     ; @PARTITION_FLAG_HAVEHDR
l_.str.5:                               ; @.str.5
	.asciz	"invalid partition flag \"%c\""

l_.str.6:                               ; @.str.6
	.asciz	"invalid partition parameter: %s"

	.comm	_PART_NAME_LEN,4,2              ; @PART_NAME_LEN
	.comm	_flash_size,8,3                 ; @flash_size
	.comm	_fw_num_blocks,8,3              ; @fw_num_blocks
	.comm	_MAX_FW_BLOCKS,8,3              ; @MAX_FW_BLOCKS
l_.str.7:                               ; @.str.7
	.asciz	"too many blocks specified"

	.comm	_fw_blocks,8,3                  ; @fw_blocks
	.comm	_BLOCK_FLAG_HAVEHDR,4,2         ; @BLOCK_FLAG_HAVEHDR
.subsections_via_symbols
