	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slave_put_val
_slave_put_val:                         ## @slave_put_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	callq	_master_init
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	movl	8(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_8
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.3:
	cmpl	$0, 12(%rbx)
	jle	LBB0_11
## %bb.4:
	movq	(%r14), %rax
	movq	24(%rbx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%edi, (%rax,%rdx,4)
	incq	%rdx
	movslq	12(%rbx), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	subl	4(%rcx), %esi
	addl	(%rax,%rdx,4), %esi
	movl	16(%rbx), %edi
	cmpl	%edi, %esi
	jl	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	20(%rbx), %edi
	cmpl	%edi, %esi
	cmovll	%esi, %edi
	jmp	LBB0_7
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	cmpl	$0, 12(%rbx)
	jle	LBB0_11
## %bb.9:
	movq	24(%rbx), %rax
	movq	(%r14), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	cmpl	$0, (%rax)
	setne	%sil
	andl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	12(%rbx), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_10
LBB0_11:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_slave_put_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slave_put_val
_slave_put_val:                         ; @slave_put_val
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0, #24]
	bl	_master_init
	tbnz	w0, #31, LBB0_8
; %bb.1:
	ldr	w8, [x20, #8]
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.3:
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.4:
	mov	x8, #0
	ldr	x9, [x19]
	ldr	x10, [x20, #24]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w11, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x11, [x20, #12]
	cmp	x8, x11
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8, lsl #2]
	ldp	w12, w13, [x10]
	sub	w12, w12, w13
	add	w12, w12, w11
	ldr	w11, [x20, #16]
	cmp	w12, w11
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w11, [x20, #20]
	cmp	w12, w11
	csel	w11, w12, w11, lt
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x8, #0
	ldr	x9, [x20, #24]
	ldr	x10, [x19]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w11, #0
	cset	w11, ne
	lsl	x12, x8, #2
	ldr	w13, [x10, x12]
	and	w11, w13, w11
	str	w11, [x10, x12]
	add	x8, x8, #1
	ldrsw	x11, [x20, #12]
	cmp	x8, x11
	b.lt	LBB0_11
LBB0_12:
	ldr	x2, [x20]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_slave_put_val
.subsections_via_symbols
