	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mbr_chs
_mbr_chs:                               ## @mbr_chs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rax
	leaq	-28(%rbp), %r8
	movl	%ecx, %edi
	movl	$1023, %esi                     ## imm = 0x3FF
	movq	%rax, %rcx
	callq	_mkimg_chs
	movl	-36(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-32(%rbp), %ecx
	movl	%ecx, (%r15)
	movl	-28(%rbp), %ecx
	andl	$63, %ecx
	shrl	$2, %eax
	andl	$192, %eax
	orl	%ecx, %eax
	movl	%eax, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mbr_chs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mbr_chs
_mbr_chs:                               ; @mbr_chs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x8, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x8
	mov	w1, #1023
	bl	_mkimg_chs
	ldp	w9, w8, [sp, #8]
	str	w8, [x21]
	str	w9, [x20]
	ldr	w9, [sp, #4]
	lsr	w8, w8, #2
	and	w8, w8, #0xc0
	bfxil	w8, w9, #0, #6
	str	w8, [x19]
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mbr_chs
.subsections_via_symbols
