	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_mfc_mmap
_s5p_mfc_mmap:                          ## @s5p_mfc_mmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	(%rdi), %edi
	callq	_fh_to_ctx
	movq	(%r14), %rdx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	shlq	%cl, %rdx
	movq	%rax, %rbx
	movq	_DST_QUEUE_OFF_BASE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rdx
	jae	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_mfc_debug
	addq	$4, %rbx
	jmp	LBB0_2
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	callq	_mfc_debug
	movq	(%r12), %rax
	movb	(%r15), %cl
	shrq	%cl, %rax
	subq	%rax, (%r14)
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vb2_mmap                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_DST_QUEUE_OFF_BASE,8,3         ## @DST_QUEUE_OFF_BASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mmaping source\n"

L_.str.1:                               ## @.str.1
	.asciz	"mmaping destination\n"

	.no_dead_strip	_s5p_mfc_mmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_mfc_mmap
_s5p_mfc_mmap:                          ; @s5p_mfc_mmap
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	w0, [x0]
	bl	_fh_to_ctx
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x21, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PAGE_SHIFT@GOTPAGEOFF]
	ldr	x9, [x21]
	lsl	x8, x8, x9
Lloh2:
	adrp	x22, _DST_QUEUE_OFF_BASE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DST_QUEUE_OFF_BASE@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.hs	LBB0_2
; %bb.1:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_mfc_debug
	add	x0, x20, #4
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_mfc_debug
	ldr	x8, [x22]
	ldr	x9, [x21]
	lsr	x8, x8, x9
	ldr	x9, [x19]
	sub	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
LBB0_3:
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vb2_mmap
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_DST_QUEUE_OFF_BASE,8,3         ; @DST_QUEUE_OFF_BASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mmaping source\n"

l_.str.1:                               ; @.str.1
	.asciz	"mmaping destination\n"

	.no_dead_strip	_s5p_mfc_mmap
.subsections_via_symbols
