	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef_obj_seg_read_rel
_ef_obj_seg_read_rel:                   ## @ef_obj_seg_read_rel
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	leaq	(%rdx,%rsi), %rax
	cmpq	(%rdi), %rax
	jbe	LBB0_4
## %bb.1:
	cmpq	$0, 64(%r13)
	je	LBB0_3
## %bb.2:
	movl	56(%r13), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_warnx
	jmp	LBB0_3
LBB0_4:
	movq	%rcx, %r12
	movq	8(%r13), %rsi
	addq	%r15, %rsi
	movq	%rcx, %rdi
	movq	%r14, %rdx
	callq	_memmove
	movl	16(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.5:
	movq	8(%r13), %r8
	leaq	(%r8,%r15), %rsi
	movq	48(%r13), %rdx
	leaq	(%rsi,%r14), %r9
	shlq	$4, %rcx
	xorl	%eax, %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	addq	$16, %rax
	cmpq	%rax, %rcx
	je	LBB0_3
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdx,%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rbx, %rsi
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%rdx,%rax), %rdi
	addq	%rbx, %rdi
	cmpq	%rdi, %r9
	ja	LBB0_9
## %bb.10:
	movl	4(%rdx,%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.11:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	subq	%r8, %rbx
	movl	20(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.12:
	movq	40(%r13), %rax
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_3:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_28:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movslq	%ecx, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_15
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	leaq	(%rsi,%rsi,2), %r14
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rax,%r14,8)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	(,%rsi,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	16(%rax,%rdx), %r12
	movq	8(%rax,%rdx), %rsi
	shlq	$2, %rsi
	addq	16(%rax,%rdx), %rsi
	cmpq	%rsi, %r12
	jae	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	28(%r13), %edi
	movq	_EF_RELOC_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r12, %rsi
	movq	%rbx, %rcx
	movq	%r15, %r8
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_ef_reloc
	testl	%eax, %eax
	jne	LBB0_28
## %bb.17:                              ##   in Loop: Header=BB0_18 Depth=2
	addq	$4, %r12
	movq	40(%r13), %rax
	movq	8(%rax,%r14,8), %rcx
	shlq	$2, %rcx
	addq	16(%rax,%r14,8), %rcx
	cmpq	%rcx, %r12
	jb	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	20(%r13), %ecx
	jmp	LBB0_20
LBB0_15:
	movl	24(%r13), %edx
	testl	%edx, %edx
	jle	LBB0_16
## %bb.21:
	movq	32(%r13), %rcx
	xorl	%edi, %edi
	jmp	LBB0_22
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	incq	%rdi
	movslq	%edx, %rsi
	xorl	%eax, %eax
	cmpq	%rsi, %rdi
	jge	LBB0_28
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	leaq	(%rdi,%rdi,2), %r14
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rcx,%r14,8)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	leaq	(,%rdi,8), %rax
	leaq	(%rax,%rax,2), %rax
	movq	16(%rcx,%rax), %r12
	movq	8(%rcx,%rax), %rsi
	shlq	$2, %rsi
	addq	16(%rcx,%rax), %rsi
	cmpq	%rsi, %r12
	jae	LBB0_27
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	28(%r13), %edi
	movq	_EF_RELOC_RELA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r12, %rsi
	movq	%rbx, %rcx
	movq	%r15, %r8
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_ef_reloc
	testl	%eax, %eax
	jne	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_25 Depth=2
	addq	$4, %r12
	movq	32(%r13), %rcx
	movq	8(%rcx,%r14,8), %rax
	shlq	$2, %rax
	addq	16(%rcx,%r14,8), %rax
	cmpq	%rax, %r12
	jb	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	24(%r13), %edx
	jmp	LBB0_27
LBB0_16:
	xorl	%eax, %eax
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ef_obj_seg_read_rel(%s): bad offset/len (%lx:%ld)"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_EF_RELOC_REL,4,2               ## @EF_RELOC_REL
	.comm	_EF_RELOC_RELA,4,2              ## @EF_RELOC_RELA
	.no_dead_strip	_ef_obj_seg_read_rel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef_obj_seg_read_rel
_ef_obj_seg_read_rel:                   ; @ef_obj_seg_read_rel
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	add	x9, x2, x1
	cmp	x9, x8
	b.ls	LBB0_3
; %bb.1:
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_11
; %bb.2:
	ldr	w1, [x21, #56]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_warnx
	b	LBB0_11
LBB0_3:
	mov	x22, x3
	ldr	x8, [x21, #8]
	add	x1, x8, x20
	mov	x0, x3
	mov	x2, x19
	bl	_memmove
	ldr	w8, [x21, #16]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.4:
	ldr	x9, [x21, #8]
	ldr	x11, [x21, #48]
	add	x10, x9, x20
	add	x12, x10, x19
	add	x11, x11, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x11, x11, #16
	subs	x8, x8, #1
	b.eq	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x13, [x11, #4]
	cmp	x13, #0
	ccmp	x10, x13, #0, ne
	b.lo	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldursw	x14, [x11, #-4]
	add	x14, x13, x14
	cmp	x12, x14
	b.hi	LBB0_5
; %bb.8:
	ldr	w25, [x11]
	cmn	w25, #1
	b.eq	LBB0_11
; %bb.9:
	sub	x23, x13, x9
	ldr	w9, [x21, #20]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.10:
	mov	x26, #0
	ldr	x8, [x21, #40]
	mov	w27, #24
Lloh2:
	adrp	x28, _EF_RELOC_REL@GOTPAGE
Lloh3:
	ldr	x28, [x28, _EF_RELOC_REL@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
Lloh4:
	adrp	x8, _EFAULT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x26, x26, #1
	cmp	x26, w9, sxtw
	b.ge	LBB0_19
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	mul	x10, x26, x27
	ldr	w10, [x8, x10]
	cmp	w10, w25
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x10, x26, x26, lsl #1
	lsl	x10, x10, #3
	add	x11, x8, x10
	ldr	x24, [x11, #16]
	add	x10, x8, x10
	ldp	x10, x11, [x10, #8]
	add	x10, x11, x10, lsl #2
	cmp	x24, x10
	b.hs	LBB0_13
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21, #28]
	ldr	w2, [x28]
	mov	x1, x24
	mov	x3, x23
	mov	x4, x20
	mov	x5, x19
	mov	x6, x22
	bl	_ef_reloc
	cbnz	w0, LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	add	x24, x24, #4
	ldr	x8, [x21, #40]
	madd	x9, x26, x27, x8
	ldp	x9, x10, [x9, #8]
	add	x9, x10, x9, lsl #2
	cmp	x24, x9
	b.lo	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x21, #20]
	b	LBB0_13
LBB0_19:
	ldr	w9, [x21, #24]
	cmp	w9, #1
	b.lt	LBB0_27
; %bb.20:
	mov	x26, #0
	ldr	x8, [x21, #32]
	mov	w27, #24
Lloh7:
	adrp	x28, _EF_RELOC_RELA@GOTPAGE
Lloh8:
	ldr	x28, [x28, _EF_RELOC_RELA@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	w0, #0
	add	x26, x26, #1
	cmp	x26, w9, sxtw
	b.ge	LBB0_12
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	mul	x10, x26, x27
	ldr	w10, [x8, x10]
	cmp	w10, w25
	b.ne	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x10, x26, x26, lsl #1
	lsl	x10, x10, #3
	add	x11, x8, x10
	ldr	x24, [x11, #16]
	add	x10, x8, x10
	ldp	x10, x11, [x10, #8]
	add	x10, x11, x10, lsl #2
	cmp	x24, x10
	b.hs	LBB0_21
LBB0_24:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21, #28]
	ldr	w2, [x28]
	mov	x1, x24
	mov	x3, x23
	mov	x4, x20
	mov	x5, x19
	mov	x6, x22
	bl	_ef_reloc
	cbnz	w0, LBB0_12
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	add	x24, x24, #4
	ldr	x8, [x21, #32]
	madd	x9, x26, x27, x8
	ldp	x9, x10, [x9, #8]
	add	x9, x10, x9, lsl #2
	cmp	x24, x9
	b.lo	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w9, [x21, #24]
	b	LBB0_21
LBB0_27:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ef_obj_seg_read_rel(%s): bad offset/len (%lx:%ld)"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_EF_RELOC_REL,4,2               ; @EF_RELOC_REL
	.comm	_EF_RELOC_RELA,4,2              ; @EF_RELOC_RELA
	.no_dead_strip	_ef_obj_seg_read_rel
.subsections_via_symbols
