	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_descriptor              ## -- Begin function lookup_descriptor
	.p2align	4, 0x90
_lookup_descriptor:                     ## @lookup_descriptor
	.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
	cmpb	$34, (%rdi)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movq	_descriptors@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.2:
	movq	%rsi, %r15
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rsi, %rsi
	je	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rsi
	testq	%r15, %r15
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_11
LBB0_9:
	movq	_PARSE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ET_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rcx
	callq	_mmerror
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_descriptors,8,3                ## @descriptors
	.comm	_PARSE_ERROR,4,2                ## @PARSE_ERROR
	.comm	_ET_WARNING,4,2                 ## @ET_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"descriptor \"%s\" does not exist"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_descriptor              ; -- Begin function lookup_descriptor
	.p2align	2
_lookup_descriptor:                     ; @lookup_descriptor
	.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
	ldrb	w8, [x0]
	cmp	w8, #34
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _descriptors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _descriptors@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cbz	x20, LBB0_9
; %bb.2:
	mov	x21, x1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x1, LBB0_11
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x20]
	cbz	x21, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x1, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_4
	b	LBB0_11
LBB0_9:
Lloh3:
	adrp	x8, _PARSE_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARSE_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ET_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ET_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_mmerror
LBB0_10:
	mov	x20, #0
LBB0_11:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_descriptors,8,3                ; @descriptors
	.comm	_PARSE_ERROR,4,2                ; @PARSE_ERROR
	.comm	_ET_WARNING,4,2                 ; @ET_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"descriptor \"%s\" does not exist"

.subsections_via_symbols
