	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_remove_reloc_sec            ## -- Begin function is_remove_reloc_sec
	.p2align	4, 0x90
_is_remove_reloc_sec:                   ## @is_remove_reloc_sec
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	leaq	-40(%rbp), %rsi
	callq	_elf_getshstrndx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_2:
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_elf_getscn
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_gelf_getshdr
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_5:
	movl	(%r14), %edi
	movq	-40(%rbp), %rsi
	movl	-32(%rbp), %edx
	callq	_elf_strptr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_is_remove_section
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	callq	_elf_errno
	movl	$1, %ebx
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"elf_getshstrndx failed: %s"

L_.str.1:                               ## @.str.1
	.asciz	"gelf_getshdr failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"elf_strptr failed: %s"

L_.str.3:                               ## @.str.3
	.asciz	"elf_nextscn failed: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_remove_reloc_sec            ; -- Begin function is_remove_reloc_sec
	.p2align	2
_is_remove_reloc_sec:                   ; @is_remove_reloc_sec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	mov	x1, sp
	bl	_elf_getshstrndx
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_errx
LBB0_2:
	ldr	w0, [x19]
	mov	x1, x20
	bl	_elf_getscn
	cbz	x0, LBB0_8
; %bb.3:
	add	x1, sp, #8
	bl	_gelf_getshdr
	cbnz	x0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_errx
LBB0_5:
	ldr	w0, [x19]
	ldr	x1, [sp]
	ldr	w2, [sp, #8]
	bl	_elf_strptr
	mov	x20, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh10:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_errx
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_is_remove_section
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_11
LBB0_8:
	bl	_elf_errno
	cbz	w0, LBB0_10
; %bb.9:
Lloh15:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
	bl	_elf_errmsg
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_errx
LBB0_10:
	mov	w0, #1
LBB0_11:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"elf_getshstrndx failed: %s"

l_.str.1:                               ; @.str.1
	.asciz	"gelf_getshdr failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"elf_strptr failed: %s"

l_.str.3:                               ; @.str.3
	.asciz	"elf_nextscn failed: %s"

.subsections_via_symbols
