	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enum_fmt
_enum_fmt:                              ## @enum_fmt
	.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), %r8d
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	movq	_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %r8
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%esi, (%rcx,%rdx,8)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%rdi), %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	jmp	LBB0_5
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	movl	4(%rcx,%rdx,8), %eax
	movl	%eax, 4(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_FORMATS,4,2                ## @NUM_FORMATS
	.comm	_formats,8,3                    ## @formats
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_enum_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enum_fmt
_enum_fmt:                              ; @enum_fmt
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_FORMATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_FORMATS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w9, #0
Lloh3:
	adrp	x10, _formats@GOTPAGE
Lloh4:
	ldr	x10, [x10, _formats@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x10, x10, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x10, #-4]
	tst	w11, w1
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x0]
	cmp	w9, w11
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	b	LBB0_2
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_7:
	ldr	w9, [x10]
	str	w9, [x0, #4]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_FORMATS,4,2                ; @NUM_FORMATS
	.comm	_formats,8,3                    ; @formats
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_enum_fmt
.subsections_via_symbols
