	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_master_stream
_set_master_stream:                     ## @set_master_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_17
## %bb.1:
	movl	%esi, %r8d
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %r8
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rsi,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rdx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	imull	$100, 16(%rdx), %eax
	movl	24(%rdx), %ecx
	imull	20(%rdx), %ecx
	cltd
	idivl	%ecx
	cmpl	%r10d, %eax
	cmovgl	%eax, %r10d
	cmovgl	%esi, %r9d
	jmp	LBB0_5
LBB0_6:
	movslq	%r9d, %r9
	cmpl	$1, %r8d
	jne	LBB0_8
## %bb.7:
	xorl	%ecx, %ecx
LBB0_14:
	testb	$1, %r8b
	je	LBB0_17
## %bb.15:
	movq	(%rdi,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:
	movq	(%rdi,%r9,8), %rax
	movq	%rax, (%rcx)
LBB0_17:
	popq	%rbp
	retq
LBB0_8:
	movl	%r8d, %edx
	andl	$-2, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rdi,%r9,8), %rax
	movq	%rax, (%rsi)
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rdi,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rdi,%r9,8), %rax
	movq	%rax, (%rsi)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_master_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_master_stream
_set_master_stream:                     ; @set_master_stream
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x10, #0
	mov	w9, #0
	mov	w11, #0
	mov	w12, #100
	mov	w8, w1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x8, x10
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x0, x10, lsl #3]
	cbz	x13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x13, #8]
	cbz	x14, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w14, w15, [x13, #16]
	mul	w14, w14, w12
	ldr	w13, [x13, #24]
	mul	w13, w13, w15
	sdiv	w13, w14, w13
	cmp	w13, w11
	csel	w11, w13, w11, gt
	csel	w9, w10, w9, gt
	b	LBB0_2
LBB0_6:
	sxtw	x9, w9
	mov	x10, x0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x10, x10, #8
	subs	x8, x8, #1
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x12, [x0, x9, lsl #3]
	str	x12, [x11]
	b	LBB0_7
LBB0_10:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_master_stream
.subsections_via_symbols
