	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_make_srec
_mips_make_srec:                        ## @mips_make_srec
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movb	$83, (%rdi)
	movb	%sil, 1(%rdi)
	leal	5(%r14), %r15d
	leaq	2(%rdi), %rbx
	movb	%r15b, 2(%rdi)
	movl	%edx, %eax
	shrl	$24, %eax
	movb	%al, 3(%rdi)
	movl	%edx, %eax
	shrl	$16, %eax
	movb	%al, 4(%rdi)
	movb	%dh, 5(%rdi)
	movb	%dl, 6(%rdi)
	addq	$7, %rdi
	movq	%rcx, %rsi
	movl	%r8d, %edx
	callq	_memcpy
	movb	$-1, %cl
	cmpl	$-4, %r14d
	jl	LBB0_8
## %bb.1:
	cmpl	$2, %r15d
	movl	$1, %esi
	cmovgel	%r15d, %esi
	leal	-1(%rsi), %ecx
	movl	%esi, %eax
	andl	$3, %eax
	cmpl	$3, %ecx
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
                                        ## implicit-def: $ecx
	jmp	LBB0_5
LBB0_3:
	andl	$2147483644, %esi               ## imm = 0x7FFFFFFC
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	addl	%edx, %ecx
	movzbl	1(%rbx), %edx
	addl	%ecx, %edx
	movzbl	2(%rbx), %ecx
	addl	%edx, %ecx
	movzbl	%cl, %edx
	movzbl	3(%rbx), %ecx
	addq	$4, %rbx
	addl	%edx, %ecx
	movzbl	%cl, %edx
	addl	$-4, %esi
	jne	LBB0_4
LBB0_5:
	testl	%eax, %eax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	incq	%rbx
	addl	%edx, %ecx
	movzbl	%cl, %edx
	decl	%eax
	jne	LBB0_6
LBB0_7:
	notb	%cl
LBB0_8:
	movb	%cl, (%rbx)
	addl	$8, %r14d
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mips_make_srec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_make_srec
_mips_make_srec:                        ; @mips_make_srec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x4
	mov	w8, #83
	strb	w8, [x0]
	strb	w1, [x0, #1]
	add	w21, w4, #5
	lsr	w8, w2, #24
	strb	w8, [x0, #3]
	lsr	w8, w2, #16
	strb	w8, [x0, #4]
	lsr	w8, w2, #8
	strb	w8, [x0, #5]
	strb	w2, [x0, #6]
	add	x8, x0, #7
	mov	x20, x0
	strb	w21, [x20, #2]!
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	bl	_memcpy
	cmn	w19, #4
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #0
	cmp	w21, #1
	csinc	w9, w21, wzr, gt
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20], #1
	add	w10, w8, w10
	and	w8, w10, #0xff
	subs	w9, w9, #1
	b.ne	LBB0_2
; %bb.3:
	mvn	w8, w10
	b	LBB0_5
LBB0_4:
	mov	w8, #255
LBB0_5:
	strb	w8, [x20]
	add	w0, w19, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mips_make_srec
.subsections_via_symbols
