	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function op
_op:                                    ## @op
	.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	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %esi
	movl	%esi, %r15d
	subl	(%r9), %r15d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movl	%r8d, %ebx
	movq	%rdi, %r12
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	24(%rbp), %eax
	subl	%esi, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	jbe	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	subl	%r14d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_FFMIN
	movl	%eax, %r14d
	testq	%r13, %r13
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	%r14d, %eax
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_bytestream2_get_bufferu
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_memset
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r14d, %rax
	shlq	$2, %rax
	addq	(%r12), %rax
	subl	%r14d, %r15d
	testl	%r15d, %r15d
	movl	$0, %ecx
	cmovlel	-60(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	16(%rbp), %esi
	cmovlel	%esi, %r15d
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, (%r12)
	cmpl	$0, 24(%rbp)
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	jb	LBB0_13
LBB0_11:
	movl	$1, %eax
	jmp	LBB0_15
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_16
LBB0_5:
	movl	$1, %eax
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movl	16(%rbp), %esi
LBB0_16:
	subl	%r15d, %esi
	movl	%esi, (%r9)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function op
_op:                                    ; @op
	.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	x20, x6
	ldr	w8, [x5]
	sub	w21, w6, w8
	cmp	w4, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x22, x7
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x27, x0
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	sub	w19, w7, w20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x26
	b.ls	LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, w28
	cmp	w23, #0
	b.le	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_FFMIN
	mov	x28, x0
	cbz	x25, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_bytestream2_get_bytes_left
	cmp	w0, w28
	b.lt	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x27]
	mov	x0, x25
	mov	x2, x28
	bl	_bytestream2_get_bufferu
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w24, #31, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x27]
	mov	x1, x24
	mov	x2, x28
	bl	_memset
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
	add	x8, x8, w28, sxtw #2
	sub	w9, w21, w28
	cmp	w9, #1
	csel	w10, w19, wzr, lt
	add	x8, x8, w10, sxtw #2
	csel	w21, w20, w9, lt
	str	x8, [x27]
	cmp	w22, #1
	b.lt	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x26
	b.lo	LBB0_3
LBB0_11:
	mov	w0, #1
	b	LBB0_14
LBB0_12:
	mov	w0, #0
	b	LBB0_15
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldr	x5, [sp, #8]                    ; 8-byte Folded Reload
LBB0_15:
	sub	w8, w20, w21
	str	w8, [x5]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_op
.subsections_via_symbols
