	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rumpshovels
_rumpshovels:                           ## @rumpshovels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_rump_init
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	_readshovel@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_pthread_create
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movl	-12(%rbp), %edi
	callq	_pthread_detach
	movq	_writeshovel@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_pthread_create
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_6:
	movl	-12(%rbp), %edi
	callq	_pthread_detach
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rump_init"

	.comm	_readshovel,4,2                 ## @readshovel
L_.str.1:                               ## @.str.1
	.asciz	"read shovel"

	.comm	_writeshovel,4,2                ## @writeshovel
L_.str.2:                               ## @.str.2
	.asciz	"write shovel"

	.no_dead_strip	_rumpshovels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rumpshovels
_rumpshovels:                           ; @rumpshovels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_rump_init
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh2:
	adrp	x8, _readshovel@GOTPAGE
Lloh3:
	ldr	x8, [x8, _readshovel@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, #0
	mov	x3, x19
	bl	_pthread_create
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	w0, [sp, #12]
	bl	_pthread_detach
Lloh7:
	adrp	x8, _writeshovel@GOTPAGE
Lloh8:
	ldr	x8, [x8, _writeshovel@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, #0
	mov	x3, x19
	bl	_pthread_create
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	ldr	w0, [sp, #12]
	bl	_pthread_detach
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rump_init"

	.comm	_readshovel,4,2                 ; @readshovel
l_.str.1:                               ; @.str.1
	.asciz	"read shovel"

	.comm	_writeshovel,4,2                ; @writeshovel
l_.str.2:                               ; @.str.2
	.asciz	"write shovel"

	.no_dead_strip	_rumpshovels
.subsections_via_symbols
