	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_cmdline_partitions
_parse_cmdline_partitions:              ## @parse_cmdline_partitions
	.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, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	_cmdline_parsed@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
LBB0_1:
	movq	_partitions@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_3
	jmp	LBB0_22
LBB0_6:
	testq	%r14, %r14
	je	LBB0_22
LBB0_7:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_18
## %bb.8:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	testq	%rax, %rax
	je	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%r15d
	movl	(%r14), %esi
	cmpl	%esi, %r15d
	jge	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	movslq	%r15d, %r12
	shlq	$4, %r12
	movq	(%rcx,%r12), %rbx
	movq	_OFFSET_CONTINUOUS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%rcx,%r12), %rax
	movq	%r13, (%rax)
	movq	%r13, %rbx
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%rcx,%r12), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rdx
	movq	_SIZE_REMAINING@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%r12, %rcx
	addq	$8, %rcx
	movq	%rdx, %rax
	subq	%rbx, %rax
	movq	%rax, (%rcx)
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%rax,%rbx), %r13
	cmpq	%rdx, %r13
	jbe	LBB0_9
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	16(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r13
	movq	%r13, %rax
	subq	%rbx, %rax
	movq	8(%r14), %rcx
	movq	%rax, 8(%rcx,%r12)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	16(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_warn
	movl	(%r14), %edx
	decl	%edx
	movl	%edx, (%r14)
	movq	8(%r14), %rax
	leaq	(%rax,%r12), %rdi
	leaq	(%r12,%rax), %rsi
	addq	$16, %rsi
	subl	%r15d, %edx
	shll	$4, %edx
	callq	_memmove
	decl	%r15d
	jmp	LBB0_10
LBB0_18:
	movq	8(%r14), %rdi
	shll	$4, %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_kmemdup
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movl	(%r14), %eax
	jmp	LBB0_23
LBB0_20:
	movq	_cmdline@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mtdpart_setup_real
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_1
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cmdline_parsed,4,2             ## @cmdline_parsed
	.comm	_cmdline,4,2                    ## @cmdline
	.comm	_partitions,8,3                 ## @partitions
	.comm	_OFFSET_CONTINUOUS,8,3          ## @OFFSET_CONTINUOUS
	.comm	_SIZE_REMAINING,8,3             ## @SIZE_REMAINING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: partitioning exceeds flash size, truncating\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: skipping zero sized partition\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_parse_cmdline_partitions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_cmdline_partitions
_parse_cmdline_partitions:              ; @parse_cmdline_partitions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _cmdline_parsed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmdline_parsed@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_17
LBB0_1:
Lloh3:
	adrp	x8, _partitions@GOTPAGE
Lloh4:
	ldr	x8, [x8, _partitions@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
	cmp	x23, #0
	ccmp	x21, #0, #4, ne
	b.ne	LBB0_14
; %bb.2:
	cbz	x23, LBB0_16
LBB0_3:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.4:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x19, #0
	mov	w24, #0
Lloh6:
	adrp	x25, _OFFSET_CONTINUOUS@GOTPAGE
Lloh7:
	ldr	x25, [x25, _OFFSET_CONTINUOUS@GOTPAGEOFF]
Lloh8:
	adrp	x26, _SIZE_REMAINING@GOTPAGE
Lloh9:
	ldr	x26, [x26, _SIZE_REMAINING@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
Lloh12:
	adrp	x22, l_.str.1@PAGE
Lloh13:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	cbz	x8, LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w24, w24, #1
	ldr	w8, [x23]
	cmp	w24, w8
	b.ge	LBB0_18
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	add	x9, x8, w24, sxtw #4
	ldr	x27, [x9]
	ldr	x10, [x25]
	cmp	x27, x10
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x19, [x9]
	mov	x27, x19
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x28, w24
	add	x10, x8, x28, lsl #4
	ldr	x8, [x10, #8]!
	ldr	x11, [x26]
	ldr	x9, [x20, #8]
	cmp	x8, x11
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	x8, x9, x27
	str	x8, [x10]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x8, x27
	cmp	x19, x9
	b.ls	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x23, #16]
	mov	x0, x21
	bl	_pr_warn
	ldr	x19, [x20, #8]
	sub	x8, x19, x27
	ldr	x9, [x23, #8]
	add	x9, x9, x28, lsl #4
	str	x8, [x9, #8]
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x23, #16]
	mov	x0, x22
	bl	_pr_warn
	ldr	w8, [x23]
	sub	w8, w8, #1
	str	w8, [x23]
	ldr	x9, [x23, #8]
	add	x0, x9, x28, lsl #4
	add	x1, x0, #16
	sub	w8, w8, w24
	lsl	w2, w8, #4
	bl	_memmove
	sub	w24, w24, #1
	b	LBB0_6
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #16]
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x23, [x23, #24]
	cbnz	x23, LBB0_14
LBB0_16:
	mov	w0, #0
	b	LBB0_22
LBB0_17:
Lloh14:
	adrp	x8, _cmdline@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cmdline@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_mtdpart_setup_real
	cbnz	w0, LBB0_22
	b	LBB0_1
LBB0_18:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
LBB0_19:
	ldr	x0, [x23, #8]
	lsl	w1, w8, #4
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_kmemdup
	str	x0, [x19]
	cbz	x0, LBB0_21
; %bb.20:
	ldr	w0, [x23]
	b	LBB0_22
LBB0_21:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_cmdline_parsed,4,2             ; @cmdline_parsed
	.comm	_cmdline,4,2                    ; @cmdline
	.comm	_partitions,8,3                 ; @partitions
	.comm	_OFFSET_CONTINUOUS,8,3          ; @OFFSET_CONTINUOUS
	.comm	_SIZE_REMAINING,8,3             ; @SIZE_REMAINING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: partitioning exceeds flash size, truncating\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: skipping zero sized partition\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_parse_cmdline_partitions
.subsections_via_symbols
