	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmi_f34v7_parse_img_header_10_bl_container
_rmi_f34v7_parse_img_header_10_bl_container: ## @rmi_f34v7_parse_img_header_10_bl_container
	.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
	movl	32(%rdi), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$8, %eax
	jl	LBB0_8
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	andl	$-4, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	24(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$4, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %rdx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	-52(%rbp), %rsi                 ## 4-byte Folded Reload
	addq	%r12, %rsi
	movq	%rsi, (%rcx)
	movl	%eax, (%rdx)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %r13
	cmpq	%r13, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rdi
	addq	%r13, %rdi
	callq	_get_unaligned_le32
	movl	%eax, %r14d
	movl	8(%r12,%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	4(%r12,%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r12,%r14), %edi
	callq	_le32_to_cpu
	leal	-129(%rbx), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$131, %ebx
	je	LBB0_6
	jmp	LBB0_7
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rmi_f34v7_parse_img_header_10_bl_container
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmi_f34v7_parse_img_header_10_bl_container
_rmi_f34v7_parse_img_header_10_bl_container: ; @rmi_f34v7_parse_img_header_10_bl_container
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x0, #32]
	cmp	w8, #8
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	and	x23, x8, #0xfffffffc
	add	x24, x0, #8
	add	x25, x0, #24
	add	x26, x0, #16
	mov	w27, #4
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x24
	mov	x9, x20
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x19, w21, sxtw
	str	x10, [x8]
	str	w0, [x9]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #4
	cmp	x23, x27
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #40]
	add	x0, x27, x8
	bl	_get_unaligned_le32
	add	x28, x19, w0, uxtw
	ldr	w0, [x28, #8]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x28, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w0, [x28]
	bl	_le32_to_cpu
	sub	w8, w22, #129
	cmp	w8, #2
	b.lo	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x25
	mov	x9, x26
	cmp	w22, #128
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x25
	mov	x9, x26
	cmp	w22, #131
	b.eq	LBB0_3
	b	LBB0_4
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rmi_f34v7_parse_img_header_10_bl_container
.subsections_via_symbols
