	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hexagon_lookup_reloc           ## -- Begin function hexagon_lookup_reloc
	.p2align	4, 0x90
_hexagon_lookup_reloc:                  ## @hexagon_lookup_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.1:
	movq	_BFD_RELOC_NONE@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_18
## %bb.2:
	movq	%rdx, %r15
	movq	_hexagon_operand_count@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_18
## %bb.3:
	movl	%esi, %r12d
	movq	_HEXAGON_OPERAND_IS_KXED@GOTPCREL(%rip), %rsi
	movq	_hexagon_operands@GOTPCREL(%rip), %rbx
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	movq	%r14, %rcx
	shlq	$5, %rcx
	addq	%rax, %rcx
	addq	$8, %rcx
	cmpq	%rdi, (%rcx)
	jne	LBB0_10
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	testl	%r12d, (%rsi)
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_HEXAGON_OPERAND_IS_IMMEDIATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r13)
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r15), %ecx
	andb	$-127, %cl
	cmpb	$-128, %cl
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$-127, %cl
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	28(%rax,%r13), %r15d
	movl	%r15d, %edi
	callq	_TOLOWER
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rax,%r13), %rcx
	addq	$16, %rcx
	cmpq	%rdi, (%rcx)
	jne	LBB0_10
	jmp	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	28(%rax,%r13), %r15d
	movl	%r15d, %edi
	callq	_TOUPPER
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	_hexagon_operands@GOTPCREL(%rip), %rbx
	movq	_HEXAGON_OPERAND_IS_KXED@GOTPCREL(%rip), %rsi
	movq	_hexagon_operand_count@GOTPCREL(%rip), %rdx
	cmpl	%eax, %r15d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r15), %edi
	movq	(%rbx), %rax
	movl	24(%rax,%r13), %esi
	callq	_strstr
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	_hexagon_operands@GOTPCREL(%rip), %rbx
	movq	_HEXAGON_OPERAND_IS_KXED@GOTPCREL(%rip), %rsi
	movq	_hexagon_operand_count@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	addq	$32, %r13
	cmpq	(%rdx), %r14
	jb	LBB0_4
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_17:
	addq	%r13, %rax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BFD_RELOC_NONE,8,3             ## @BFD_RELOC_NONE
	.comm	_hexagon_operand_count,8,3      ## @hexagon_operand_count
	.comm	_HEXAGON_OPERAND_IS_KXED,4,2    ## @HEXAGON_OPERAND_IS_KXED
	.comm	_hexagon_operands,8,3           ## @hexagon_operands
	.comm	_HEXAGON_OPERAND_IS_IMMEDIATE,4,2 ## @HEXAGON_OPERAND_IS_IMMEDIATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hexagon_lookup_reloc           ; -- Begin function hexagon_lookup_reloc
	.p2align	2
_hexagon_lookup_reloc:                  ; @hexagon_lookup_reloc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x0
	mov	x0, #0
	cbz	x2, LBB0_16
; %bb.1:
Lloh0:
	adrp	x8, _BFD_RELOC_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BFD_RELOC_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x23, _hexagon_operand_count@GOTPAGE
Lloh4:
	ldr	x23, [x23, _hexagon_operand_count@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x21
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_16
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x24, #0
	mov	x25, #0
Lloh5:
	adrp	x26, _HEXAGON_OPERAND_IS_KXED@GOTPAGE
Lloh6:
	ldr	x26, [x26, _HEXAGON_OPERAND_IS_KXED@GOTPAGEOFF]
Lloh7:
	adrp	x27, _hexagon_operands@GOTPAGE
Lloh8:
	ldr	x27, [x27, _hexagon_operands@GOTPAGEOFF]
Lloh9:
	adrp	x28, _HEXAGON_OPERAND_IS_IMMEDIATE@GOTPAGE
Lloh10:
	ldr	x28, [x28, _HEXAGON_OPERAND_IS_IMMEDIATE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x27]
	add	x9, x8, x25, lsl #5
	add	x9, x9, #8
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x9]
	cmp	x9, x21
	b.eq	LBB0_15
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	ldr	x8, [x23]
	add	x24, x24, #32
	cmp	x25, x8
	b.hs	LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x26]
	ldr	x8, [x27]
	tst	w9, w20
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x8, x24]
	ldr	w10, [x28]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x19]
	mov	w10, #129
	and	w9, w9, w10
	cmp	w9, #128
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #129
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x24
	ldr	w22, [x8, #28]
	mov	x0, x22
	bl	_TOLOWER
	cmp	w22, w0
	b.ne	LBB0_5
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x8, x24
	add	x9, x9, #16
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x24
	ldr	w22, [x8, #28]
	mov	x0, x22
	bl	_TOUPPER
	cmp	w22, w0
	b.ne	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #4]
	ldr	x8, [x27]
	add	x8, x8, x24
	ldr	w1, [x8, #24]
	bl	_strstr
	cbnz	w0, LBB0_3
	b	LBB0_5
LBB0_14:
	mov	x0, #0
	b	LBB0_16
LBB0_15:
	add	x0, x8, x24
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BFD_RELOC_NONE,8,3             ; @BFD_RELOC_NONE
	.comm	_hexagon_operand_count,8,3      ; @hexagon_operand_count
	.comm	_HEXAGON_OPERAND_IS_KXED,4,2    ; @HEXAGON_OPERAND_IS_KXED
	.comm	_hexagon_operands,8,3           ; @hexagon_operands
	.comm	_HEXAGON_OPERAND_IS_IMMEDIATE,4,2 ; @HEXAGON_OPERAND_IS_IMMEDIATE
.subsections_via_symbols
