	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	cmpl	$1, %edi
	jle	LBB0_11
## %bb.1:
	movq	%rsi, %r12
	movl	%edi, %r15d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_rump_daemonize_begin
	movl	%eax, %edi
	callq	_NOFAIL
	xorl	%eax, %eax
	callq	_rump_init
	movl	%eax, %edi
	callq	_NOFAIL
	movq	8(%r12), %rdi
	callq	_rump_init_server
	movl	%eax, %edi
	callq	_NOFAIL
	movq	_RUMP_DAEMONIZE_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rump_daemonize_done
	movl	%eax, %edi
	callq	_NOFAIL
	cmpl	$4, %r15d
	je	LBB0_4
## %bb.2:
	cmpl	$2, %r15d
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_pause
	jmp	LBB0_3
LBB0_4:
	movq	24(%r12), %r14
LBB0_5:
	movq	_actions@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	___arraycount
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movq	(%r15), %rdi
	callq	___arraycount
	movl	%eax, %eax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jae	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	8(%rax,%rbx), %edi
	movq	16(%r12), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_rump_schedule
	movq	(%r15), %rax
	movq	%r14, %rdi
	callq	*(%rax,%rbx)
	xorl	%eax, %eax
	callq	_rump_unschedule
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	callq	_pause
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_RUMP_DAEMONIZE_SUCCESS,4,2     ## @RUMP_DAEMONIZE_SUCCESS
	.comm	_actions,8,3                    ## @actions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	w0, #1
	b.le	LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_rump_daemonize_begin
	bl	_NOFAIL
	bl	_rump_init
	bl	_NOFAIL
	ldr	x0, [x19, #8]
	bl	_rump_init_server
	bl	_NOFAIL
Lloh0:
	adrp	x8, _RUMP_DAEMONIZE_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RUMP_DAEMONIZE_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rump_daemonize_done
	bl	_NOFAIL
	cmp	w20, #4
	b.eq	LBB0_4
; %bb.2:
	cmp	w20, #2
	b.ne	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_pause
	b	LBB0_3
LBB0_4:
	ldr	x20, [x19, #24]
	b	LBB0_6
LBB0_5:
	mov	x20, #0
LBB0_6:
Lloh3:
	adrp	x21, _actions@GOTPAGE
Lloh4:
	ldr	x21, [x21, _actions@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	___arraycount
	cbz	w0, LBB0_11
; %bb.7:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	___arraycount
	add	x22, x22, #16
	cmp	x23, w0, uxtw
	b.hs	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	ldr	x1, [x19, #16]
	bl	_strcmp
	cbnz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_rump_schedule
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	mov	x0, x20
	blr	x8
	bl	_rump_unschedule
	b	LBB0_8
LBB0_11:
	bl	_pause
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RUMP_DAEMONIZE_SUCCESS,4,2     ; @RUMP_DAEMONIZE_SUCCESS
	.comm	_actions,8,3                    ; @actions
.subsections_via_symbols
