	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_maybe_strip_eh_frame_hdr ## -- Begin function _bfd_elf_maybe_strip_eh_frame_hdr
	.p2align	4, 0x90
__bfd_elf_maybe_strip_eh_frame_hdr:     ## @_bfd_elf_maybe_strip_eh_frame_hdr
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_elf_hash_table
	movq	%rax, %r14
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movl	4(%rax), %edi
	callq	_bfd_is_abs_section
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_11
## %bb.4:
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.5:
	leaq	L_.str(%rip), %r15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$9, (%rax)
	jl	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%rax), %edi
	callq	_bfd_is_abs_section
	testq	%rax, %rax
	jne	LBB0_6
## %bb.10:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_13
LBB0_11:
	movq	_SEC_EXCLUDE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r14), %rcx
	orl	%eax, (%rcx)
LBB0_12:
	movq	$0, 8(%r14)
LBB0_13:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".eh_frame"

	.comm	_SEC_EXCLUDE,4,2                ## @SEC_EXCLUDE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_maybe_strip_eh_frame_hdr ; -- Begin function _bfd_elf_maybe_strip_eh_frame_hdr
	.p2align	2
__bfd_elf_maybe_strip_eh_frame_hdr:     ; @_bfd_elf_maybe_strip_eh_frame_hdr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	bl	_elf_hash_table
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x22, _TRUE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	w0, [x8, #4]
	bl	_bfd_is_abs_section
	cbnz	x0, LBB0_11
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
; %bb.3:
	ldr	x20, [x20]
	cbz	x20, LBB0_10
; %bb.4:
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x20, [x20]
	cbz	x20, LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x0]
	cmp	w8, #9
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x0, #4]
	bl	_bfd_is_abs_section
	cbnz	x0, LBB0_5
; %bb.9:
	ldr	w8, [x22]
	str	w8, [x19]
	b	LBB0_12
LBB0_10:
Lloh4:
	adrp	x8, _SEC_EXCLUDE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SEC_EXCLUDE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_11:
	str	xzr, [x19, #8]
LBB0_12:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".eh_frame"

	.comm	_SEC_EXCLUDE,4,2                ; @SEC_EXCLUDE
.subsections_via_symbols
