	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_omf_data_info
_get_omf_data_info:                     ## @get_omf_data_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	movq	_OMF_LEDATA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_get_next_omf_record_type
	movl	$1, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, (%rdx)
	movq	$0, (%rax)
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_get_next_omf_record_type
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rcx
	movslq	(%rcx), %rdx
	cmpl	(%rbx), %edx
	jg	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rsi
	movq	-8(%rsi,%rdx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rsi, %rdx
	movq	8(%rsi), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	$8, %rdx
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMF_LEDATA,4,2                 ## @OMF_LEDATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Ledata record (bad segment index)\n"

	.no_dead_strip	_get_omf_data_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_omf_data_info
_get_omf_data_info:                     ; @get_omf_data_info
	.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, x0
	ldr	x0, [x0, #16]
Lloh0:
	adrp	x20, _OMF_LEDATA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OMF_LEDATA@GOTPAGEOFF]
	ldr	w1, [x20]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	x8, [x9]
	str	xzr, [x0]
	ldr	w1, [x20]
	mov	x0, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	bl	_get_next_omf_record_type
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0]
	ldr	w9, [x8]
	ldr	w10, [x19]
	cmp	w9, w10
	b.gt	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w9, w9, #1
	ldr	x10, [x19, #8]
	ldr	x9, [x10, w9, sxtw #3]
	cbz	x9, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_1
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x10
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	b	LBB0_1
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_OMF_LEDATA,4,2                 ; @OMF_LEDATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Ledata record (bad segment index)\n"

	.no_dead_strip	_get_omf_data_info
.subsections_via_symbols
