	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dwarf_elf_apply_rela_reloc
__dwarf_elf_apply_rela_reloc:           ## @_dwarf_elf_apply_rela_reloc
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	leaq	-112(%rbp), %rdx
	movq	%rcx, %rdi
	xorl	%esi, %esi
	callq	_gelf_getrela
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movl	$1, %r13d
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	-48(%rbp), %rsi
	movl	%eax, %ecx
	callq	__dwarf_write_lsb
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r13), %ebx
	movq	%r15, %rdi
	movl	%r13d, %esi
	leaq	-112(%rbp), %rdx
	callq	_gelf_getrela
	movl	%ebx, %r13d
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-96(%rbp), %edi
	callq	_GELF_R_SYM
	movq	%rax, %r14
	movl	-96(%rbp), %edi
	callq	_GELF_R_TYPE
	movl	%eax, %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	leaq	-88(%rbp), %rdx
	callq	_gelf_getsym
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rax
	movq	%rax, -48(%rbp)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	__dwarf_get_reloc_size
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rcx
	addq	-48(%rbp), %rcx
	cmpq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	jge	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rdx
	addq	-88(%rbp), %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	_ELFDATA2MSB@GOTPCREL(%rip), %rsi
	cmpl	%ecx, (%rsi)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	-48(%rbp), %rsi
	movl	%eax, %ecx
	callq	__dwarf_write_msb
	jmp	LBB0_8
LBB0_9:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELFDATA2MSB,4,2                ## @ELFDATA2MSB
	.no_dead_strip	__dwarf_elf_apply_rela_reloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dwarf_elf_apply_rela_reloc
__dwarf_elf_apply_rela_reloc:           ; @_dwarf_elf_apply_rela_reloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	add	x2, sp, #24
	mov	x0, x3
	mov	w1, #0
	bl	_gelf_getrela
	cbz	x0, LBB0_9
; %bb.1:
	mov	w25, #1
Lloh0:
	adrp	x28, _ELFDATA2MSB@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ELFDATA2MSB@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	__dwarf_write_lsb
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w25, #1
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x25
	bl	_gelf_getrela
	mov	x25, x26
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #40]
	bl	_GELF_R_SYM
	mov	x27, x0
	ldr	w0, [sp, #40]
	bl	_GELF_R_TYPE
	mov	x26, x0
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x27
	bl	_gelf_getsym
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]
	str	x8, [sp, #8]
	mov	x0, x24
	mov	x1, x26
	bl	__dwarf_get_reloc_size
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x0
	ldr	x8, [sp, #8]
	add	x8, x8, w0, sxtw
	cmp	x8, x22
	b.ge	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	ldr	x9, [sp, #16]
	ldr	x10, [sp, #32]
	add	x2, x10, x9
	add	x1, sp, #8
	mov	x0, x23
	cmp	w8, w19
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	__dwarf_write_msb
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ELFDATA2MSB,4,2                ; @ELFDATA2MSB
	.no_dead_strip	__dwarf_elf_apply_rela_reloc
.subsections_via_symbols
