	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dwarf_elf_relocate
__dwarf_elf_relocate:                   ## @_dwarf_elf_relocate
	.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
	movq	_DW_DLE_NONE@GOTPCREL(%rip), %r14
	testq	%r8, %r8
	je	LBB0_24
## %bb.1:
	testq	%r9, %r9
	je	LBB0_24
## %bb.2:
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	16(%rbp), %r14
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	callq	_gelf_getehdr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_elf_errno
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_elf_nextscn
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%rax, %r14
	leaq	-104(%rbp), %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_elf_nextscn
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gelf_getshdr
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %rax
	movq	_SHT_REL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_SHT_RELA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, -96(%rbp)
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r15, -88(%rbp)
	jne	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r13, -80(%rbp)
	jne	LBB0_10
## %bb.16:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:
	movq	%rax, %r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_malloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	movq	_DW_DLE_NONE@GOTPCREL(%rip), %r14
	je	LBB0_20
## %bb.21:
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	%rax, %rdi
	callq	_memcpy
	movq	-104(%rbp), %rax
	movq	-72(%rbp), %rcx
	movq	_EI_DATA@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %r9d
	movq	(%rbx), %rcx
	movq	8(%rbx), %rsi
	movl	(%rcx), %edx
	movq	_SHT_REL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %rcx
	jne	LBB0_23
## %bb.22:
	callq	__dwarf_elf_apply_rel_reloc
	jmp	LBB0_24
LBB0_11:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	movq	_DW_DLE_NONE@GOTPCREL(%rip), %r14
	je	LBB0_24
LBB0_12:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	16(%rbp), %rsi
	jmp	LBB0_13
LBB0_3:
	movl	%ebx, %edi
	movq	%r14, %rsi
LBB0_13:
	callq	_DWARF_SET_ELF_ERROR
	movq	_DW_DLE_ELF@GOTPCREL(%rip), %r14
LBB0_24:
	movl	(%r14), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	movq	_DW_DLE_NONE@GOTPCREL(%rip), %r14
	je	LBB0_24
## %bb.18:
	movq	_DW_DLE_ELF@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%edi, %edi
	movq	16(%rbp), %rsi
	movl	%eax, %ecx
	callq	__DWARF_SET_ERROR
	jmp	LBB0_24
LBB0_20:
	movq	_DW_DLE_MEMORY@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	16(%rbp), %rsi
	callq	_DWARF_SET_ERROR
	jmp	LBB0_24
LBB0_23:
	callq	__dwarf_elf_apply_rela_reloc
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_DW_DLE_NONE,4,2                ## @DW_DLE_NONE
	.comm	_DW_DLE_ELF,4,2                 ## @DW_DLE_ELF
	.comm	_SHT_REL,8,3                    ## @SHT_REL
	.comm	_SHT_RELA,8,3                   ## @SHT_RELA
	.comm	_DW_DLE_MEMORY,4,2              ## @DW_DLE_MEMORY
	.comm	_EI_DATA,8,3                    ## @EI_DATA
	.no_dead_strip	__dwarf_elf_relocate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dwarf_elf_relocate
__dwarf_elf_relocate:                   ; @_dwarf_elf_relocate
	.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
Lloh0:
	adrp	x26, _DW_DLE_NONE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DW_DLE_NONE@GOTPAGEOFF]
	cbz	x4, LBB0_18
; %bb.1:
	mov	x20, x5
	cbz	x5, LBB0_18
; %bb.2:
	mov	x21, x6
	mov	x23, x4
	mov	x24, x3
	mov	x22, x2
	mov	x25, x1
	mov	x19, x0
	add	x1, sp, #40
	mov	x0, x25
	bl	_gelf_getehdr
	cbz	x0, LBB0_17
; %bb.3:
	bl	_elf_errno
	mov	x0, x25
	mov	x1, #0
	bl	_elf_nextscn
	cbz	x0, LBB0_16
; %bb.4:
	mov	x26, x0
Lloh2:
	adrp	x27, _SHT_REL@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SHT_REL@GOTPAGEOFF]
Lloh4:
	adrp	x28, _SHT_RELA@GOTPAGE
Lloh5:
	ldr	x28, [x28, _SHT_RELA@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x26
	bl	_elf_nextscn
	mov	x26, x0
	cbz	x0, LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x26
	bl	_gelf_getshdr
	cbz	x0, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_10
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x28]
	ldr	x10, [sp, #16]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #24]
	cmp	x8, x24
	b.ne	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
	cmp	x8, x23
	b.ne	LBB0_5
; %bb.12:
	mov	x0, x26
	mov	x1, #0
	bl	_elf_getdata
	cbz	x0, LBB0_19
; %bb.13:
	mov	x23, x0
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_malloc
	str	x0, [x22, #8]
	cbz	x0, LBB0_21
; %bb.14:
	ldr	x8, [x22]
	ldp	w2, w1, [x8]
	bl	_memcpy
	ldr	x8, [sp, #8]
	ldr	x9, [x27]
	ldp	x10, x1, [x22]
	ldr	w2, [x10]
	ldr	x10, [sp, #40]
Lloh6:
	adrp	x11, _EI_DATA@GOTPAGE
Lloh7:
	ldr	x11, [x11, _EI_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	ldr	w5, [x10, x11, lsl #2]
	mov	x0, x19
	mov	x3, x23
	mov	x4, x20
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.15:
	bl	__dwarf_elf_apply_rel_reloc
	b	LBB0_23
LBB0_16:
	bl	_elf_errno
	cbz	w0, LBB0_23
LBB0_17:
	mov	x0, x19
	mov	x1, x21
	bl	_DWARF_SET_ELF_ERROR
Lloh9:
	adrp	x26, _DW_DLE_ELF@GOTPAGE
Lloh10:
	ldr	x26, [x26, _DW_DLE_ELF@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x26]
	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
LBB0_19:
	bl	_elf_errno
	cbz	w0, LBB0_23
; %bb.20:
	mov	x3, x0
Lloh11:
	adrp	x26, _DW_DLE_ELF@GOTPAGE
Lloh12:
	ldr	x26, [x26, _DW_DLE_ELF@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, #0
	mov	x1, x21
	bl	__DWARF_SET_ERROR
	b	LBB0_18
LBB0_21:
Lloh13:
	adrp	x26, _DW_DLE_MEMORY@GOTPAGE
Lloh14:
	ldr	x26, [x26, _DW_DLE_MEMORY@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x21
	bl	_DWARF_SET_ERROR
	b	LBB0_18
LBB0_22:
	bl	__dwarf_elf_apply_rela_reloc
LBB0_23:
Lloh15:
	adrp	x26, _DW_DLE_NONE@GOTPAGE
Lloh16:
	ldr	x26, [x26, _DW_DLE_NONE@GOTPAGEOFF]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DW_DLE_NONE,4,2                ; @DW_DLE_NONE
	.comm	_DW_DLE_ELF,4,2                 ; @DW_DLE_ELF
	.comm	_SHT_REL,8,3                    ; @SHT_REL
	.comm	_SHT_RELA,8,3                   ; @SHT_RELA
	.comm	_DW_DLE_MEMORY,4,2              ; @DW_DLE_MEMORY
	.comm	_EI_DATA,8,3                    ; @EI_DATA
	.no_dead_strip	__dwarf_elf_relocate
.subsections_via_symbols
