	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup
_lookup:                                ## @lookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	cmpl	%eax, 8(%rdi)
	je	LBB0_13
## %bb.2:
	addq	$24, %rdi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	16(%rdi), %rcx
	cmpl	%eax, (%rdi)
	movq	%rcx, %rdi
	jne	LBB0_3
	jmp	LBB0_13
LBB0_5:
	cmpl	$16, %edx
	je	LBB0_10
## %bb.6:
	cmpl	$10, %edx
	je	LBB0_11
## %bb.7:
	cmpl	$8, %edx
	jne	LBB0_12
## %bb.8:
	leaq	_lookup.tmp(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_10:
	leaq	_lookup.tmp(%rip), %rbx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_11:
	leaq	_lookup.tmp(%rip), %rbx
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sprintf
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	leaq	_lookup.tmp(%rip), %rbx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_lookup.tmp,16,4 ## @lookup.tmp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0%o"

L_.str.1:                               ## @.str.1
	.asciz	"0x%x"

L_.str.2:                               ## @.str.2
	.asciz	"%u"

L_.str.3:                               ## @.str.3
	.asciz	"Unknown lookup base"

	.no_dead_strip	_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup
_lookup:                                ; @lookup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	ldr	x19, [x0]
	cbz	x19, LBB0_5
; %bb.1:
	ldr	w9, [x0, #8]
	cmp	w9, w8
	b.eq	LBB0_13
; %bb.2:
	add	x9, x0, #24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x19, [x9, #-8]
	cbz	x19, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x9], #16
	cmp	w10, w8
	b.ne	LBB0_3
	b	LBB0_13
LBB0_5:
	cmp	w2, #16
	b.eq	LBB0_9
; %bb.6:
	cmp	w2, #10
	b.eq	LBB0_10
; %bb.7:
	cmp	w2, #8
	b.ne	LBB0_12
; %bb.8:
Lloh0:
	adrp	x19, _lookup.tmp@PAGE
Lloh1:
	add	x19, x19, _lookup.tmp@PAGEOFF
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh4:
	adrp	x19, _lookup.tmp@PAGE
Lloh5:
	add	x19, x19, _lookup.tmp@PAGEOFF
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh8:
	adrp	x19, _lookup.tmp@PAGE
Lloh9:
	add	x19, x19, _lookup.tmp@PAGEOFF
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x19
	mov	x2, x8
	bl	_sprintf
	b	LBB0_13
LBB0_12:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
Lloh14:
	adrp	x19, _lookup.tmp@PAGE
Lloh15:
	add	x19, x19, _lookup.tmp@PAGEOFF
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_lookup.tmp,16,0 ; @lookup.tmp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0%o"

l_.str.1:                               ; @.str.1
	.asciz	"0x%x"

l_.str.2:                               ; @.str.2
	.asciz	"%u"

l_.str.3:                               ; @.str.3
	.asciz	"Unknown lookup base"

	.no_dead_strip	_lookup
.subsections_via_symbols
