	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_mmap_data_fault
_snd_pcm_mmap_data_fault:               ## @snd_pcm_mmap_data_fault
	.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	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	8(%rbx), %r12
	movq	(%rsi), %r15
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %r15
	movl	8(%r12), %edi
	callq	_PAGE_ALIGN
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	cmpq	%rax, %r15
	jbe	LBB0_3
LBB0_1:
	movq	_VM_FAULT_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_3:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*%rax
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_1
LBB0_5:
	addq	(%r12), %r15
	movq	%r15, %rdi
	callq	_virt_to_page
	movq	%rax, %rbx
LBB0_6:
	movq	%rbx, %rdi
	callq	_get_page
	movq	%rbx, 8(%r14)
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_FAULT_SIGBUS,4,2            ## @VM_FAULT_SIGBUS
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_snd_pcm_mmap_data_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_mmap_data_fault
_snd_pcm_mmap_data_fault:               ; @snd_pcm_mmap_data_fault
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x22, [x20, #8]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x21, x8, x9
	ldr	w0, [x22, #8]
	bl	_PAGE_ALIGN
Lloh3:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x8, x0, x8
	cmp	x21, x8
	b.ls	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _VM_FAULT_SIGBUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VM_FAULT_SIGBUS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_3:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	blr	x8
	mov	x20, x0
	cbnz	x0, LBB0_6
	b	LBB0_2
LBB0_5:
	ldr	x8, [x22]
	add	x0, x8, x21
	bl	_virt_to_page
	mov	x20, x0
LBB0_6:
	mov	x0, x20
	bl	_get_page
	mov	w0, #0
	str	x20, [x19, #8]
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_FAULT_SIGBUS,4,2            ; @VM_FAULT_SIGBUS
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_snd_pcm_mmap_data_fault
.subsections_via_symbols
