	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srec_write_Sd
_srec_write_Sd:                         ## @srec_write_Sd
	.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	%r8, %rbx
	movq	%rcx, %r12
	movq	%rdx, %r15
	shlq	$2, %rbx
	movq	%r9, %rax
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movslq	%r9d, %r9
	movq	%rbx, %r8
	sarq	$2, %r8
	movsbl	%sil, %r13d
	cmpq	%r9, %r8
	jl	LBB0_3
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	negq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%r14d, %r8d
	movq	%r9, %rbx
	callq	_srec_write
	movq	%rbx, %r9
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addq	%r14, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %r8
	sarq	$2, %r8
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r12
	subq	%rax, %rbx
	cmpq	%r9, %r8
	jge	LBB0_2
LBB0_3:
	testq	%rbx, %rbx
	jle	LBB0_4
## %bb.5:
	movl	%r13d, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_srec_write                     ## TAILCALL
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_srec_write_Sd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srec_write_Sd
_srec_write_Sd:                         ; @srec_write_Sd
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	lsl	x24, x4, #2
	sxtw	x25, w5
	sbfx	x4, x4, #0, #62
	cmp	x4, x25
	b.lt	LBB0_3
; %bb.1:
	mov	x23, x5
	lsl	x26, x5, #2
	neg	x27, x26
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x23
	bl	_srec_write
	add	x20, x20, x23
	add	x8, x27, x24
	asr	x4, x8, #2
	add	x19, x19, x26
	sub	x24, x24, x26
	cmp	x4, x25
	b.ge	LBB0_2
LBB0_3:
	cmp	x24, #1
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
                                        ; kill: def $w4 killed $w4 killed $x4
	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
	b	_srec_write
LBB0_5:
	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	_srec_write_Sd
.subsections_via_symbols
