	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_irep
_dump_irep:                             ## @dump_irep
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_debug_info_defined_p
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_lv_defined_p
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	$0, -72(%rbp)
	movl	$0, -44(%rbp)
	movq	$0, -64(%rbp)
	movl	$0, -52(%rbp)
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_irep_record_size
	movq	%rax, %r12
	addq	$4, %r12
	movq	%r12, -112(%rbp)
	movq	_DUMP_DEBUG_INFO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	testl	%ebx, (%rax)
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.3:
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.4:
	movl	$5, %esi
	movq	%r13, %rdi
	callq	_mrb_malloc
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_filename_table_size
	movq	%r14, %rbx
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_debug_record_size
	leaq	(%r14,%rax), %rcx
	addq	$8, %rcx
	movq	%rbx, %r14
LBB0_5:
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.7:
	movq	%rcx, %rbx
	leaq	-72(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_create_lv_sym_table
	movq	-72(%rbp), %rdx
	movl	-44(%rbp), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_lv_section_size
	movq	%rbx, %rcx
	movq	%rax, %r14
	addq	$4, %r14
	jmp	LBB0_8
LBB0_1:
	movq	$0, (%r14)
	movq	_MRB_DUMP_GENERAL_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_22
LBB0_6:
	xorl	%r14d, %r14d
LBB0_8:
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	leaq	(%r14,%rcx), %rax
	leaq	(%r12,%rax), %rsi
	addq	$8, %rsi
	movq	%r13, %rdi
	callq	_mrb_malloc
	movq	%rax, %rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	addq	$16, %rbx
	leaq	-112(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r8d
	callq	_write_section_irep
	movq	_MRB_DUMP_OK@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ecx
	movl	%eax, %esi
	cmpl	%ecx, %eax
	jne	LBB0_9
## %bb.10:
	movq	%r14, %rax
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leaq	(%r14,%rdx), %rax
	addq	$8, %rax
	movq	-112(%rbp), %rcx
	leaq	(%rbx,%rcx,4), %rbx
	addq	%rcx, %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_DUMP_DEBUG_INFO@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movq	%rdi, %r12
	je	LBB0_11
## %bb.12:
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	movl	%esi, %r14d
	je	LBB0_14
## %bb.13:
	movq	-64(%rbp), %rcx
	movl	-52(%rbp), %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rdx, %r14
	movq	%rbx, %rdx
	callq	_write_section_debug
	movq	%r12, %rcx
	movq	%r14, %rdx
	movl	%eax, %r14d
	movl	(%r12), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_19
LBB0_14:
	leaq	(%rbx,%rdx,4), %rbx
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_16
	jmp	LBB0_18
LBB0_9:
	movl	%esi, %r14d
	jmp	LBB0_19
LBB0_11:
	movl	%esi, %r14d
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_18
LBB0_16:
	movq	-72(%rbp), %rcx
	movl	-44(%rbp), %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_write_section_lv
	movq	%r12, %rcx
	movl	%eax, %r14d
	movl	(%r12), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_19
## %bb.17:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rbx
LBB0_18:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_write_footer
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	%r13, %rdi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_write_rite_binary_header
	movl	(%r12), %ecx
LBB0_19:
	cmpl	%ecx, %r14d
	je	LBB0_21
## %bb.20:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_mrb_free
	movq	$0, (%rbx)
LBB0_21:
	movq	-72(%rbp), %rsi
	movq	%r13, %rdi
	callq	_mrb_free
	movq	-64(%rbp), %rsi
	movq	%r13, %rdi
	callq	_mrb_free
LBB0_22:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MRB_DUMP_GENERAL_FAILURE,4,2   ## @MRB_DUMP_GENERAL_FAILURE
	.comm	_DUMP_DEBUG_INFO,4,2            ## @DUMP_DEBUG_INFO
	.comm	_MRB_DUMP_OK,4,2                ## @MRB_DUMP_OK
	.no_dead_strip	_dump_irep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_irep
_dump_irep:                             ; @dump_irep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x22, x4
	mov	x26, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x1
	bl	_debug_info_defined_p
	mov	x25, x0
	mov	x0, x23
	bl	_lv_defined_p
	str	xzr, [sp, #48]
	str	wzr, [sp, #44]
	str	xzr, [sp, #32]
	str	wzr, [sp, #28]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x24, x0
	mov	x0, x19
	mov	x1, x23
	bl	_get_irep_record_size
	add	x27, x0, #4
	str	x27, [sp, #56]
Lloh0:
	adrp	x8, _DUMP_DEBUG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUMP_DEBUG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w21
	cmp	w8, #0
	ccmp	x25, #0, #4, ne
	b.ne	LBB0_5
; %bb.2:
	mov	x28, #0
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x24, LBB0_6
LBB0_3:
	add	x2, sp, #48
	add	x3, sp, #44
	mov	x0, x19
	mov	x1, x23
	bl	_create_lv_sym_table
	ldr	x2, [sp, #48]
	ldr	w3, [sp, #44]
	mov	x0, x19
	mov	x1, x23
	bl	_get_lv_section_size
	add	x20, x0, #4
	b	LBB0_7
LBB0_4:
	str	xzr, [x26]
Lloh3:
	adrp	x8, _MRB_DUMP_GENERAL_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MRB_DUMP_GENERAL_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	b	LBB0_19
LBB0_5:
	mov	x0, x19
	mov	w1, #5
	bl	_mrb_malloc
	str	x0, [sp, #32]
	add	x2, sp, #32
	add	x3, sp, #28
	mov	x0, x19
	mov	x1, x23
	bl	_get_filename_table_size
	mov	x20, x26
	mov	x26, x0
	mov	x0, x19
	mov	x1, x23
	bl	_get_debug_record_size
	add	x8, x26, x0
	mov	x26, x20
	add	x28, x8, #8
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	cbnz	x24, LBB0_3
LBB0_6:
	mov	x20, #0
LBB0_7:
	add	x8, x20, x28
	add	x24, x8, #8
	add	x1, x24, x27
	mov	x0, x19
	bl	_mrb_malloc
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	str	x0, [x26]
	add	x27, x0, #16
	add	x3, sp, #56
	mov	x0, x19
	mov	x1, x23
	mov	x2, x27
	mov	x4, x21
	bl	_write_section_irep
	mov	x26, x0
Lloh6:
	adrp	x9, _MRB_DUMP_OK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MRB_DUMP_OK@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.8:
	ldr	x8, [sp, #56]
	add	x27, x27, x8, lsl #2
	add	x8, x24, x8
	mov	x24, x22
	str	x8, [x22]
Lloh8:
	adrp	x8, _DUMP_DEBUG_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DUMP_DEBUG_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	mov	x22, x9
	b.eq	LBB0_12
; %bb.9:
	cbz	x25, LBB0_11
; %bb.10:
	ldr	x3, [sp, #32]
	ldr	w4, [sp, #28]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x27
	bl	_write_section_debug
	mov	x8, x22
	mov	x26, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_16
LBB0_11:
	add	x27, x27, x28, lsl #2
LBB0_12:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_15
; %bb.13:
	ldr	x3, [sp, #48]
	ldr	w4, [sp, #44]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x27
	bl	_write_section_lv
	mov	x8, x22
	mov	x26, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.14:
	add	x27, x27, x20, lsl #2
LBB0_15:
	mov	x0, x19
	mov	x1, x27
	bl	_write_footer
	ldr	x1, [x24]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x2, [x8]
	mov	x0, x19
	mov	x3, x21
	bl	_write_rite_binary_header
	ldr	w8, [x22]
LBB0_16:
	cmp	w26, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x1, [x20]
	mov	x0, x19
	bl	_mrb_free
	str	xzr, [x20]
LBB0_18:
	ldr	x1, [sp, #48]
	mov	x0, x19
	bl	_mrb_free
	ldr	x1, [sp, #32]
	mov	x0, x19
	bl	_mrb_free
LBB0_19:
	mov	x0, x26
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MRB_DUMP_GENERAL_FAILURE,4,2   ; @MRB_DUMP_GENERAL_FAILURE
	.comm	_DUMP_DEBUG_INFO,4,2            ; @DUMP_DEBUG_INFO
	.comm	_MRB_DUMP_OK,4,2                ; @MRB_DUMP_OK
	.no_dead_strip	_dump_irep
.subsections_via_symbols
