	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wrk
_wrk:                                   ## @wrk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	-4(%rbp), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$4, %edx
	callq	_rump_sys_read
	movq	_canreturn@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	cmpl	$37, -4(%rbp)
	je	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	cmpl	$37, -4(%rbp)
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_canreturn,4,2                  ## @canreturn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"should not have returned"

L_.str.1:                               ## @.str.1
	.asciz	"got invalid magic"

	.no_dead_strip	_wrk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wrk
_wrk:                                   ; @wrk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w0, [x29, #-4]
	sub	x1, x29, #4
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w2, #4
	bl	_rump_sys_read
Lloh0:
	adrp	x8, _canreturn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _canreturn@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldur	w8, [x29, #-4]
	cmp	w8, #37
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_canreturn,4,2                  ; @canreturn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"should not have returned"

l_.str.1:                               ; @.str.1
	.asciz	"got invalid magic"

	.no_dead_strip	_wrk
.subsections_via_symbols
