	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_proc                      ## -- Begin function make_proc
	.p2align	4, 0x90
_make_proc:                             ## @make_proc
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_MACH_PORT_NULL@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	movl	$112, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%r15, 104(%rax)
	movl	%r12d, (%rax)
	movq	%r14, 96(%rax)
	movq	$0, 88(%rax)
	movq	(%r13), %rax
	movq	%rax, 80(%rbx)
	movq	%rax, 72(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 40(%rbx)
	movl	20(%r14), %ecx
	movl	%ecx, 52(%rbx)
	movl	16(%r14), %ecx
	movl	%ecx, 48(%rbx)
	movl	%eax, 44(%rbx)
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 8(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_proc_debug
	xorl	%eax, %eax
	callq	_mach_task_self
	movq	_MACH_NOTIFY_DEAD_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	(%r14), %r8
	movq	_MACH_MSG_TYPE_MAKE_SEND_ONCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	-48(%rbp), %rcx
	movq	%rcx, (%rsp)
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	_mach_port_request_notification
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_safe_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_warning
	jmp	LBB0_4
LBB0_2:
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_proc_debug
	movq	-48(%rbp), %rax
	movq	_MACH_PORT_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_mach_task_self
	movq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_mach_port_deallocate
LBB0_4:
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_proc_is_task
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r13, %r14
LBB0_7:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_proc_steal_exc_port
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MACH_PORT_NULL,8,3             ## @MACH_PORT_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"is new"

	.comm	_MACH_NOTIFY_DEAD_NAME,4,2      ## @MACH_NOTIFY_DEAD_NAME
	.comm	_MACH_MSG_TYPE_MAKE_SEND_ONCE,4,2 ## @MACH_MSG_TYPE_MAKE_SEND_ONCE
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't request notification for port %d: %s"

L_.str.2:                               ## @.str.2
	.asciz	"notifications to: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_proc                      ; -- Begin function make_proc
	.p2align	2
_make_proc:                             ; @make_proc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _MACH_PORT_NULL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MACH_PORT_NULL@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x8, [sp, #8]
	mov	w0, #112
	bl	_xmalloc
	mov	x20, x0
	stp	x19, x21, [x0, #96]
	str	w22, [x0]
	ldr	x8, [x23]
	stp	x8, xzr, [x0, #80]
	stp	xzr, x8, [x0, #64]
	str	xzr, [x0, #56]
	ldr	w8, [x19, #24]
	str	w8, [x0, #40]
	ldr	d0, [x19, #16]
	str	d0, [x0, #48]
	str	w8, [x0, #44]
	movi.2d	v0, #0000000000000000
	stur	q0, [x0, #24]
	stur	q0, [x0, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_proc_debug
	bl	_mach_task_self
Lloh4:
	adrp	x8, _MACH_NOTIFY_DEAD_NAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MACH_NOTIFY_DEAD_NAME@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	ldr	x4, [x19]
Lloh7:
	adrp	x8, _MACH_MSG_TYPE_MAKE_SEND_ONCE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MACH_MSG_TYPE_MAKE_SEND_ONCE@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	add	x6, sp, #8
	mov	x1, x21
	mov	w3, #1
	bl	_mach_port_request_notification
	cbz	x0, LBB0_2
; %bb.1:
	bl	_safe_strerror
	mov	x2, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_warning
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_proc_debug
	ldr	x8, [sp, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	bl	_mach_task_self
	ldr	x1, [sp, #8]
	bl	_mach_port_deallocate
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_proc_is_task
	cmp	x0, #0
	csel	x8, x23, x19, eq
	ldr	x1, [x8]
	mov	x0, x20
	bl	_proc_steal_exc_port
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MACH_PORT_NULL,8,3             ; @MACH_PORT_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"is new"

	.comm	_MACH_NOTIFY_DEAD_NAME,4,2      ; @MACH_NOTIFY_DEAD_NAME
	.comm	_MACH_MSG_TYPE_MAKE_SEND_ONCE,4,2 ; @MACH_MSG_TYPE_MAKE_SEND_ONCE
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't request notification for port %d: %s"

l_.str.2:                               ; @.str.2
	.asciz	"notifications to: %d"

.subsections_via_symbols
