	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_frame_to_surface
_map_frame_to_surface:                  ## @map_frame_to_surface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_5
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	16(%rdi), %rax
	movl	(%rax), %ecx
	movl	%ecx, 28(%rsi)
	movl	4(%rax), %eax
	movl	%eax, 32(%rsi)
	jmp	LBB0_7
LBB0_5:
	movq	_MFX_ERR_UNSUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	16(%rdi), %rax
	movl	(%rax), %ecx
	movl	%ecx, 28(%rsi)
	movl	(%rax), %ecx
	incl	%ecx
	movl	%ecx, 24(%rsi)
	movl	(%rax), %eax
	addl	$3, %eax
	movl	%eax, 20(%rsi)
	jmp	LBB0_7
LBB0_2:
	movq	16(%rdi), %rax
	movl	(%rax), %ecx
	movl	%ecx, 28(%rsi)
	movl	4(%rax), %ecx
	movl	%ecx, 24(%rsi)
	movl	8(%rax), %eax
	movl	%eax, 20(%rsi)
	jmp	LBB0_7
LBB0_4:
	movq	16(%rdi), %rax
	movl	(%rax), %ecx
	movl	%ecx, 16(%rsi)
	movl	(%rax), %ecx
	incl	%ecx
	movl	%ecx, 12(%rsi)
	movl	(%rax), %ecx
	addl	$2, %ecx
	movl	%ecx, 8(%rsi)
	movl	(%rax), %eax
	addl	$3, %eax
	movl	%eax, 4(%rsi)
LBB0_7:
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_MFX_ERR_UNSUPPORTED,4,2        ## @MFX_ERR_UNSUPPORTED
	.no_dead_strip	_map_frame_to_surface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_frame_to_surface
_map_frame_to_surface:                  ; @map_frame_to_surface
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	str	w9, [x1, #28]
	ldr	w8, [x8, #4]
	str	w8, [x1, #32]
	b	LBB0_7
LBB0_3:
Lloh2:
	adrp	x8, _MFX_ERR_UNSUPPORTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MFX_ERR_UNSUPPORTED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_4:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	str	w9, [x1, #28]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x1, #24]
	ldr	w8, [x8]
	add	w8, w8, #3
	str	w8, [x1, #20]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	str	w9, [x1, #28]
	ldr	w9, [x8, #4]
	str	w9, [x1, #24]
	ldr	w8, [x8, #8]
	str	w8, [x1, #20]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	str	w9, [x1, #16]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x1, #12]
	ldr	w9, [x8]
	add	w9, w9, #2
	str	w9, [x1, #8]
	ldr	w8, [x8]
	add	w8, w8, #3
	str	w8, [x1, #4]
LBB0_7:
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
	str	w9, [x1]
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_MFX_ERR_UNSUPPORTED,4,2        ; @MFX_ERR_UNSUPPORTED
	.no_dead_strip	_map_frame_to_surface
.subsections_via_symbols
