	.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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	$0, -20(%rbp)
	movq	(%rsi), %rdi
	callq	_setprogname
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_num_args@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %r8
	movl	%r14d, %edx
	movq	%rbx, %rcx
	callq	_getarg
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_usage
LBB0_2:
	movq	_help_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_usage
LBB0_4:
	movq	_version_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_test_service@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rbx
	leaq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_heim_sipc_launchd_mach_init
	movl	(%r14), %esi
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_heim_sipc_service_unix
	xorl	%eax, %eax
	callq	_heim_ipc_main
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	xorl	%edi, %edi
	callq	_print_version
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_args,4,2                       ## @args
	.comm	_num_args,4,2                   ## @num_args
	.comm	_help_flag,8,3                  ## @help_flag
	.comm	_version_flag,8,3               ## @version_flag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"org.h5l.test-ipc"

	.comm	_test_service,4,2               ## @test_service
.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:
	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, x1
	mov	x20, x0
	str	wzr, [sp, #8]
	ldr	x0, [x1]
	bl	_setprogname
Lloh0:
	adrp	x8, _args@GOTPAGE
Lloh1:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _num_args@GOTPAGE
Lloh4:
	ldr	x8, [x8, _num_args@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	x2, x20
	mov	x3, x19
	bl	_getarg
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_usage
LBB0_2:
Lloh6:
	adrp	x8, _help_flag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _help_flag@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_usage
LBB0_4:
Lloh9:
	adrp	x8, _version_flag@GOTPAGE
Lloh10:
	ldr	x8, [x8, _version_flag@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
; %bb.5:
Lloh12:
	adrp	x20, _test_service@GOTPAGE
Lloh13:
	ldr	x20, [x20, _test_service@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh14:
	adrp	x19, l_.str@PAGE
Lloh15:
	add	x19, x19, l_.str@PAGEOFF
	add	x3, sp, #4
	mov	x0, x19
	mov	x2, #0
	bl	_heim_sipc_launchd_mach_init
	ldr	w1, [x20]
	add	x3, sp, #12
	mov	x0, x19
	mov	x2, #0
	bl	_heim_sipc_service_unix
	bl	_heim_ipc_main
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	mov	x0, #0
	bl	_print_version
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_args,4,2                       ; @args
	.comm	_num_args,4,2                   ; @num_args
	.comm	_help_flag,8,3                  ; @help_flag
	.comm	_version_flag,8,3               ; @version_flag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"org.h5l.test-ipc"

	.comm	_test_service,4,2               ; @test_service
.subsections_via_symbols
