	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_format                 ## -- Begin function compute_format
	.p2align	4, 0x90
_compute_format:                        ## @compute_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	_inst_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	movl	(%rcx), %edi
	movl	(%rdx), %esi
	movq	_inst_buf_index@GOTPCREL(%rip), %rcx
	cmpl	$3, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	16(%rax), %rax
	movl	(%rax), %edx
	jmp	LBB0_3
LBB0_2:
	movq	_NO_PIPELINE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edx
	shll	%cl, %edx
LBB0_3:
	callq	_BUNDLE_FORMAT_MASK
	movl	%eax, %ecx
	movq	_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notl	%ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	4(%rax), %rdx
	xorl	%esi, %esi
	testl	%ecx, 4(%rax)
	cmoveq	%rdx, %rsi
	movq	%rsi, %rax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inst_buf,8,3                   ## @inst_buf
	.comm	_inst_buf_index,4,2             ## @inst_buf_index
	.comm	_NO_PIPELINE,4,2                ## @NO_PIPELINE
	.comm	_formats,8,3                    ## @formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_format                 ; -- Begin function compute_format
	.p2align	2
_compute_format:                        ; @compute_format
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _inst_buf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inst_buf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x8]
	ldr	w0, [x9]
	ldr	w1, [x10]
Lloh3:
	adrp	x9, _inst_buf_index@GOTPAGE
Lloh4:
	ldr	x9, [x9, _inst_buf_index@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #3
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x8, #16]
	ldr	w2, [x8]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _NO_PIPELINE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NO_PIPELINE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w2, w9, w8
LBB0_3:
	bl	_BUNDLE_FORMAT_MASK
	mov	x8, x0
Lloh9:
	adrp	x9, _formats@GOTPAGE
Lloh10:
	ldr	x9, [x9, _formats@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x9]
	ldr	w9, [x0]
	bics	wzr, w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w9, [x0, #4]!
	bics	wzr, w9, w8
	csel	x0, x0, xzr, eq
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_inst_buf,8,3                   ; @inst_buf
	.comm	_inst_buf_index,4,2             ; @inst_buf_index
	.comm	_NO_PIPELINE,4,2                ; @NO_PIPELINE
	.comm	_formats,8,3                    ; @formats
.subsections_via_symbols
