	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_find_section               ## -- Begin function elf_find_section
	.p2align	4, 0x90
_elf_find_section:                      ## @elf_find_section
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	$-1, %edx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_IMAGE_NO_MAP@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	movq	_IMAGE_NO_MAP@GOTPCREL(%rip), %r14
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, -80(%rbp)
	movslq	28(%rbx), %rax
	movq	%rax, -72(%rbp)
	movl	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_elf_map_section
	movq	%rax, (%rbx)
	cmpq	(%r14), %rax
	je	LBB0_13
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 24(%rbx)
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r14
	movl	24(%rbx), %eax
	addq	$16, %r13
	cmpq	%rax, %r14
	jae	LBB0_12
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rax
	movq	(%rax,%r13), %rdi
	addq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	_SHT_NULL@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%rbx), %rax
	cmpl	%r15d, 8(%rax,%r13)
	jne	LBB0_11
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	%r14d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_1:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, 8(%rcx)
	movl	%edx, (%rcx)
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	$-1, %edx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_IMAGE_NO_MAP,8,3               ## @IMAGE_NO_MAP
	.comm	_SHT_NULL,4,2                   ## @SHT_NULL
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_find_section               ; -- Begin function elf_find_section
	.p2align	2
_elf_find_section:                      ; @elf_find_section
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x3
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x24, _IMAGE_NO_MAP@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IMAGE_NO_MAP@GOTPAGEOFF]
Lloh2:
	adrp	x23, _FALSE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
Lloh4:
	adrp	x25, _SHT_NULL@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SHT_NULL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x20]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w20, [sp]
	ldrsw	x8, [x20, #28]
	str	x8, [sp, #8]
	str	wzr, [sp, #16]
	str	xzr, [sp, #24]
	mov	x0, sp
	bl	_elf_map_section
	str	x0, [x20]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_15
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, #0
	mov	x26, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x26, x26, #1
	ldr	w8, [x20, #24]
	add	x27, x27, #16
	cmp	x26, x8
	b.hs	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	ldr	x9, [x20, #16]
	ldr	x9, [x9, x27]
	add	x0, x9, x8
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x25]
	cmp	w8, w21
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x20, #16]
	add	x8, x8, x27
	ldr	w8, [x8, #8]
	cmp	w8, w21
	b.ne	LBB0_7
LBB0_11:
Lloh6:
	adrp	x23, _TRUE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh8:
	adrp	x23, _FALSE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
LBB0_13:
	mov	w26, #-1
LBB0_14:
	str	x20, [x19, #8]
	str	w26, [x19]
	ldr	w0, [x23]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_15:
	mov	x20, #0
	b	LBB0_13
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IMAGE_NO_MAP,8,3               ; @IMAGE_NO_MAP
	.comm	_SHT_NULL,4,2                   ; @SHT_NULL
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
