	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psbfb_mmap
_psbfb_mmap:                            ## @psbfb_mmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	32(%rsi), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_4:
	movq	_psbfb_vm_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rsi)
	movq	%rax, 16(%rsi)
	movq	_VM_IO@GOTPCREL(%rip), %rax
	movq	_VM_MIXEDMAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VM_DONTEXPAND@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_VM_DONTDUMP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 8(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_psbfb_vm_ops,4,2               ## @psbfb_vm_ops
	.comm	_VM_IO,4,2                      ## @VM_IO
	.comm	_VM_MIXEDMAP,4,2                ## @VM_MIXEDMAP
	.comm	_VM_DONTEXPAND,4,2              ## @VM_DONTEXPAND
	.comm	_VM_DONTDUMP,4,2                ## @VM_DONTDUMP
	.no_dead_strip	_psbfb_mmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psbfb_mmap
_psbfb_mmap:                            ; @psbfb_mmap
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbnz	x9, LBB0_4
; %bb.3:
	ldr	x9, [x1, #32]
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_4:
	mov	w0, #0
Lloh3:
	adrp	x9, _psbfb_vm_ops@GOTPAGE
Lloh4:
	ldr	x9, [x9, _psbfb_vm_ops@GOTPAGEOFF]
	stp	x8, x9, [x1, #16]
Lloh5:
	adrp	x8, _VM_IO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VM_IO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _VM_MIXEDMAP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VM_MIXEDMAP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _VM_DONTEXPAND@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VM_DONTEXPAND@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _VM_DONTDUMP@GOTPAGE
Lloh15:
	ldr	x10, [x10, _VM_DONTDUMP@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh16:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x1, #8]
	orr	w8, w8, w9
	str	w8, [x1, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_psbfb_vm_ops,4,2               ; @psbfb_vm_ops
	.comm	_VM_IO,4,2                      ; @VM_IO
	.comm	_VM_MIXEDMAP,4,2                ; @VM_MIXEDMAP
	.comm	_VM_DONTEXPAND,4,2              ; @VM_DONTEXPAND
	.comm	_VM_DONTDUMP,4,2                ; @VM_DONTDUMP
	.no_dead_strip	_psbfb_mmap
.subsections_via_symbols
