	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_startup                    ## -- Begin function inf_startup
	.p2align	4, 0x90
_inf_startup:                           ## @inf_startup
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_inf_debug
	movq	%rbx, %rdi
	callq	_inf_cleanup
	xorl	%eax, %eax
	callq	_mach_task_self
	movq	_MACH_PORT_RIGHT_RECEIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_mach_port_allocate
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_safe_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_error
LBB0_2:
	xorl	%eax, %eax
	callq	_mach_task_self
	movl	(%rbx), %edx
	movq	_MACH_MSG_TYPE_MAKE_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	movl	%edx, %esi
	callq	_mach_port_insert_right
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_inf_set_pid                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"startup: pid = %d"

	.comm	_MACH_PORT_RIGHT_RECEIVE,4,2    ## @MACH_PORT_RIGHT_RECEIVE
L_.str.1:                               ## @.str.1
	.asciz	"Error allocating event port: %s"

	.comm	_MACH_MSG_TYPE_MAKE_SEND,4,2    ## @MACH_MSG_TYPE_MAKE_SEND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_startup                    ; -- Begin function inf_startup
	.p2align	2
_inf_startup:                           ; @inf_startup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_inf_debug
	mov	x0, x20
	bl	_inf_cleanup
	bl	_mach_task_self
Lloh2:
	adrp	x8, _MACH_PORT_RIGHT_RECEIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MACH_PORT_RIGHT_RECEIVE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_mach_port_allocate
	cbz	x0, LBB0_2
; %bb.1:
	bl	_safe_strerror
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_2:
	bl	_mach_task_self
	ldr	w1, [x20]
Lloh7:
	adrp	x8, _MACH_MSG_TYPE_MAKE_SEND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MACH_MSG_TYPE_MAKE_SEND@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x2, x1
	bl	_mach_port_insert_right
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_inf_set_pid
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"startup: pid = %d"

	.comm	_MACH_PORT_RIGHT_RECEIVE,4,2    ; @MACH_PORT_RIGHT_RECEIVE
l_.str.1:                               ; @.str.1
	.asciz	"Error allocating event port: %s"

	.comm	_MACH_MSG_TYPE_MAKE_SEND,4,2    ; @MACH_MSG_TYPE_MAKE_SEND
.subsections_via_symbols
