	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_puffs_fstest_mount             ## -- Begin function puffs_fstest_mount
	.p2align	4, 0x90
_puffs_fstest_mount:                    ## @puffs_fstest_mount
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rsi, %r12
	xorl	%eax, %eax
	callq	_rump_init
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_rump_sys_open
	movl	$-1, %r14d
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.1:
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_rump_sys_mkdir
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.2:
	movq	_MOUNT_PUFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r12), %r8d
	movl	12(%r12), %ecx
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_rump_sys_mount
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movl	%ebx, (%r12)
	movq	%r12, %rdi
	callq	_rumpshovels
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_3:
	movl	4(%r12), %edi
	movq	_SIGKILL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/puffs"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_MOUNT_PUFFS,4,2                ## @MOUNT_PUFFS
	.comm	_SIGKILL,4,2                    ## @SIGKILL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_puffs_fstest_mount             ; -- Begin function puffs_fstest_mount
	.p2align	2
_puffs_fstest_mount:                    ; @puffs_fstest_mount
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	bl	_rump_init
Lloh0:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_rump_sys_open
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	mov	w1, #511
	bl	_rump_sys_mkdir
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _MOUNT_PUFFS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MOUNT_PUFFS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	w4, w3, [x19, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_rump_sys_mount
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	str	w22, [x19]
	mov	x0, x19
	bl	_rumpshovels
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_kill
	mov	w0, #-1
LBB0_5:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/puffs"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_MOUNT_PUFFS,4,2                ; @MOUNT_PUFFS
	.comm	_SIGKILL,4,2                    ; @SIGKILL
.subsections_via_symbols
