	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef_seg_read_rel
_ef_seg_read_rel:                       ## @ef_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_ef_get_offset
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_ef_read
	testl	%eax, %eax
	jne	LBB0_14
## %bb.2:
	cmpq	$0, (%r13)
	jle	LBB0_6
## %bb.3:
	movq	32(%r13), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r13), %edi
	movq	_EF_RELOC_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, (%rsp)
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_ef_reloc
	testl	%eax, %eax
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rbx
	movq	(%r13), %rax
	shlq	$2, %rax
	addq	32(%r13), %rax
	cmpq	%rax, %rbx
	jb	LBB0_4
LBB0_6:
	cmpq	$0, 8(%r13)
	jle	LBB0_15
## %bb.7:
	movq	24(%r13), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r13), %edi
	movq	_EF_RELOC_RELA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, (%rsp)
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_ef_reloc
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %rbx
	movq	8(%r13), %rax
	shlq	$2, %rax
	addq	24(%r13), %rax
	cmpq	%rax, %rbx
	jb	LBB0_8
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_11:
	cmpq	$0, 48(%r13)
	je	LBB0_13
## %bb.12:
	movl	40(%r13), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_warnx
LBB0_13:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ef_seg_read_rel(%s): zero offset (%jx:%ju)"

	.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_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_seg_read_rel
_ef_seg_read_rel:                       ; @ef_seg_read_rel
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_ef_get_offset
	cbz	x0, LBB0_11
; %bb.1:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_ef_read
	cbnz	w0, LBB0_14
; %bb.2:
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x23, [x20, #32]
Lloh0:
	adrp	x24, _EF_RELOC_REL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EF_RELOC_REL@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #16]
	ldr	w2, [x24]
	mov	x1, x23
	mov	w3, #0
	mov	x4, x19
	mov	x5, x22
	mov	x6, x21
	bl	_ef_reloc
	cbnz	w0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #4
	ldr	x8, [x20, #32]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #2
	cmp	x23, x8
	b.lo	LBB0_4
LBB0_6:
	ldr	x8, [x20, #8]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.7:
	ldr	x23, [x20, #24]
Lloh2:
	adrp	x24, _EF_RELOC_RELA@GOTPAGE
Lloh3:
	ldr	x24, [x24, _EF_RELOC_RELA@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #16]
	ldr	w2, [x24]
	mov	x1, x23
	mov	w3, #0
	mov	x4, x19
	mov	x5, x22
	mov	x6, x21
	bl	_ef_reloc
	cbnz	w0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #4
	ldr	x8, [x20, #24]
	ldr	x9, [x20, #8]
	add	x8, x8, x9, lsl #2
	cmp	x23, x8
	b.lo	LBB0_8
LBB0_10:
	mov	w0, #0
	b	LBB0_14
LBB0_11:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w1, [x20, #40]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	mov	w3, #0
	bl	_warnx
LBB0_13:
Lloh6:
	adrp	x8, _EFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ef_seg_read_rel(%s): zero offset (%jx:%ju)"

	.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_seg_read_rel
.subsections_via_symbols
