	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_format
_find_format:                           ## @find_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUM_FORMATS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rdx,%rsi,8)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_3
## %bb.5:
	movl	%ecx, %esi
	jmp	LBB0_6
LBB0_1:
	xorl	%esi, %esi
LBB0_6:
	xorl	%eax, %eax
	cmpl	%ecx, %esi
	movl	%esi, %ecx
	leaq	(%rdx,%rcx,8), %rcx
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_FORMATS,4,2                ## @NUM_FORMATS
	.comm	_formats,8,3                    ## @formats
	.no_dead_strip	_find_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_format
_find_format:                           ; @find_format
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_FORMATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_FORMATS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _formats@GOTPAGE
Lloh4:
	ldr	x9, [x9, _formats@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x10, #0
	ldr	x11, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, x10, lsl #3]
	cmp	x12, x11
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_2
; %bb.4:
	mov	x10, x8
	b	LBB0_6
LBB0_5:
	mov	w10, #0
LBB0_6:
	add	x9, x9, w10, uxtw #3
	cmp	w10, w8
	csel	x0, xzr, x9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_FORMATS,4,2                ; @NUM_FORMATS
	.comm	_formats,8,3                    ; @formats
	.no_dead_strip	_find_format
.subsections_via_symbols
