	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_irep
_read_irep:                             ## @read_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)
	movq	$0, -56(%rbp)
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.2:
	movq	%rdi, %r14
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	callq	_read_binary_header
	movq	_MRB_DUMP_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
## %bb.3:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_offset_crc_body
	movq	-64(%rbp), %r12
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	-56(%rbp), %rsi
	subq	%rax, %rsi
	xorl	%edx, %edx
	callq	_calc_crc_16_ccitt
	cmpq	%rax, %r12
	jne	LBB0_19
## %bb.4:
	addq	$16, %r13
	movq	_RITE_SECTION_IREP_IDENT@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_read_section_irep
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_18
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r13), %edi
	callq	_bin_to_uint32
	cltq
	leaq	(,%rax,4), %rbx
	addq	%r13, %rbx
	movl	4(%r13), %edi
	movq	_RITE_BINARY_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcmp
	movq	%rbx, %r13
	testq	%rax, %rax
	je	LBB0_19
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13), %edi
	movl	(%r12), %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%r13), %edi
	movq	_RITE_SECTION_LINENO_IDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%r13), %edi
	movq	_RITE_SECTION_DEBUG_IDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%r13), %edi
	movq	_RITE_SECTION_LV_IDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_read_section_lv
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_read_section_lineno
	jmp	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_read_section_debug
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_MRB_DUMP_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_6
LBB0_18:
	xorl	%r15d, %r15d
LBB0_19:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MRB_DUMP_OK,4,2                ## @MRB_DUMP_OK
	.comm	_RITE_SECTION_IREP_IDENT,4,2    ## @RITE_SECTION_IREP_IDENT
	.comm	_RITE_SECTION_LINENO_IDENT,4,2  ## @RITE_SECTION_LINENO_IDENT
	.comm	_RITE_SECTION_DEBUG_IDENT,4,2   ## @RITE_SECTION_DEBUG_IDENT
	.comm	_RITE_SECTION_LV_IDENT,4,2      ## @RITE_SECTION_LV_IDENT
	.comm	_RITE_BINARY_EOF,4,2            ## @RITE_BINARY_EOF
	.no_dead_strip	_read_irep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_irep
_read_irep:                             ; @read_irep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, #0
	str	w2, [sp, #28]
	str	xzr, [sp, #8]
	cbz	x0, LBB0_19
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_19
; %bb.2:
	mov	x19, x0
	add	x1, sp, #8
	add	x2, sp, #16
	add	x3, sp, #28
	mov	x0, x21
	bl	_read_binary_header
Lloh0:
	adrp	x22, _MRB_DUMP_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MRB_DUMP_OK@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.3:
	bl	_offset_crc_body
	ldp	x9, x20, [sp, #8]
	add	x8, x21, x0, lsl #2
	sub	x1, x9, x0
	mov	x0, x8
	mov	w2, #0
	bl	_calc_crc_16_ccitt
	cmp	x20, x0
	b.ne	LBB0_18
; %bb.4:
	mov	x20, #0
	add	x21, x21, #16
Lloh2:
	adrp	x23, _RITE_SECTION_IREP_IDENT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _RITE_SECTION_IREP_IDENT@GOTPAGEOFF]
Lloh4:
	adrp	x24, _RITE_BINARY_EOF@GOTPAGE
Lloh5:
	ldr	x24, [x24, _RITE_BINARY_EOF@GOTPAGEOFF]
Lloh6:
	adrp	x25, _RITE_SECTION_LINENO_IDENT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _RITE_SECTION_LINENO_IDENT@GOTPAGEOFF]
Lloh8:
	adrp	x26, _RITE_SECTION_DEBUG_IDENT@GOTPAGE
Lloh9:
	ldr	x26, [x26, _RITE_SECTION_DEBUG_IDENT@GOTPAGEOFF]
Lloh10:
	adrp	x27, _RITE_SECTION_LV_IDENT@GOTPAGE
Lloh11:
	ldr	x27, [x27, _RITE_SECTION_LV_IDENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [sp, #28]
	mov	x0, x19
	mov	x1, x21
	bl	_read_section_irep
	mov	x20, x0
	cbz	x0, LBB0_19
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x21]
	bl	_bin_to_uint32
	add	x28, x21, w0, sxtw #2
	ldr	w0, [x21, #4]
	ldr	w1, [x24]
	mov	w2, #4
	bl	_memcmp
	mov	x21, x28
	cbz	x0, LBB0_19
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #4]
	ldr	w1, [x23]
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x21, #4]
	ldr	w1, [x25]
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x21, #4]
	ldr	w1, [x26]
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x21, #4]
	ldr	w1, [x27]
	mov	w2, #4
	bl	_memcmp
	cbnz	x0, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	x20, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w3, [sp, #28]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_read_section_lv
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x20, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_read_section_lineno
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x20, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w3, [sp, #28]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_read_section_debug
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22]
	cmp	w0, w8
	b.ge	LBB0_6
LBB0_18:
	mov	x20, #0
LBB0_19:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MRB_DUMP_OK,4,2                ; @MRB_DUMP_OK
	.comm	_RITE_SECTION_IREP_IDENT,4,2    ; @RITE_SECTION_IREP_IDENT
	.comm	_RITE_SECTION_LINENO_IDENT,4,2  ; @RITE_SECTION_LINENO_IDENT
	.comm	_RITE_SECTION_DEBUG_IDENT,4,2   ; @RITE_SECTION_DEBUG_IDENT
	.comm	_RITE_SECTION_LV_IDENT,4,2      ; @RITE_SECTION_LV_IDENT
	.comm	_RITE_BINARY_EOF,4,2            ; @RITE_BINARY_EOF
	.no_dead_strip	_read_irep
.subsections_via_symbols
