	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iv_put
_iv_put:                                ## @iv_put
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	8(%rsi), %r9
	testq	%r9, %r9
	je	LBB0_2
## %bb.6:
	movq	_MRB_IV_SEGMENT_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%r11d, %r11d
	xorl	%eax, %eax
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%r9, %r13
	testq	%r8, %r8
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %r10
	movq	8(%r13), %r9
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%rax, %rsi
	movq	%r11, %rdx
	cmpq	%r12, %rcx
	je	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%rbx
	movq	%rdx, %r11
	movq	%rsi, %rax
	cmpq	%rbx, %r8
	je	LBB0_18
LBB0_10:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r10,%rbx,8), %rcx
	testq	%r9, %r9
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpq	(%r15), %rbx
	jae	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r13, %rsi
	movq	%rbx, %rdx
	testq	%rcx, %rcx
	je	LBB0_17
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r13), %r9
	testq	%r9, %r9
	jne	LBB0_7
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rsi, %rax
	movq	%rdx, %r11
	testq	%r9, %r9
	jne	LBB0_7
LBB0_20:
	incl	16(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.21:
	movq	(%rax), %rcx
	movq	%r12, (%rcx,%r11,8)
	movq	16(%rax), %rax
	movq	%r14, (%rax,%r11,8)
	jmp	LBB0_23
LBB0_2:
	incl	16(%r15)
	xorl	%r13d, %r13d
LBB0_3:
	movl	$24, %esi
	callq	_mrb_malloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.4:
	movq	$0, 8(%rax)
	movq	(%rax), %rcx
	movq	%r12, (%rcx)
	movq	16(%rax), %rcx
	movq	%r14, (%rcx)
	movq	$1, (%r15)
	testq	%r13, %r13
	je	LBB0_22
## %bb.5:
	movq	%rax, 8(%r13)
	jmp	LBB0_23
LBB0_16:
	movq	16(%r13), %rax
	movq	%r14, (%rax,%rbx,8)
	jmp	LBB0_23
LBB0_12:
	movq	%r12, (%r10,%rbx,8)
	movq	16(%r13), %rax
	movq	%r14, (%rax,%rbx,8)
	incq	%rbx
	movq	%rbx, (%r15)
	incl	16(%r15)
	jmp	LBB0_23
LBB0_22:
	movq	%rax, 8(%r15)
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MRB_IV_SEGMENT_SIZE,8,3        ## @MRB_IV_SEGMENT_SIZE
	.no_dead_strip	_iv_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iv_put
_iv_put:                                ; @iv_put
	.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
	cbz	x1, LBB0_22
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	ldr	x10, [x1, #8]
	cbz	x10, LBB0_15
; %bb.2:
	mov	x11, #0
	mov	x9, #0
Lloh0:
	adrp	x8, _MRB_IV_SEGMENT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MRB_IV_SEGMENT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x22, x10
	cbz	x8, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, #0
	ldp	x13, x10, [x22]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x1, x9
	mov	x2, x11
	cmp	x14, x21
	b.eq	LBB0_19
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x12, x12, #1
	mov	x11, x2
	mov	x9, x1
	cmp	x8, x12
	b.eq	LBB0_12
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x13, x12, lsl #3]
	cbnz	x10, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x15, [x19]
	cmp	x12, x15
	b.hs	LBB0_20
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	cbnz	x9, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x1, x22
	mov	x2, x12
	cbz	x14, LBB0_6
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x22, #8]
	cbnz	x10, LBB0_3
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, x1
	mov	x11, x2
	cbnz	x10, LBB0_3
LBB0_13:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	cbz	x9, LBB0_16
; %bb.14:
	ldr	x8, [x9]
	lsl	x10, x11, #3
	str	x21, [x8, x10]
	ldr	x8, [x9, #16]
	str	x20, [x8, x10]
	b	LBB0_22
LBB0_15:
	mov	x22, #0
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_16:
	mov	w1, #24
	bl	_mrb_malloc
	cbz	x0, LBB0_22
; %bb.17:
	str	xzr, [x0, #8]
	ldr	x8, [x0]
	str	x21, [x8]
	ldr	x8, [x0, #16]
	str	x20, [x8]
	mov	w8, #1
	str	x8, [x19]
	cbz	x22, LBB0_21
; %bb.18:
	str	x0, [x22, #8]
	b	LBB0_22
LBB0_19:
	ldr	x8, [x22, #16]
	str	x20, [x8, x12, lsl #3]
	b	LBB0_22
LBB0_20:
	lsl	x8, x12, #3
	str	x21, [x13, x8]
	ldr	x9, [x22, #16]
	str	x20, [x9, x8]
	add	x8, x12, #1
	str	x8, [x19]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_22
LBB0_21:
	str	x0, [x19, #8]
LBB0_22:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MRB_IV_SEGMENT_SIZE,8,3        ; @MRB_IV_SEGMENT_SIZE
	.no_dead_strip	_iv_put
.subsections_via_symbols
