	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgwin32_create_signal_listener ## -- Begin function pgwin32_create_signal_listener
	.p2align	4, 0x90
_pgwin32_create_signal_listener:        ## @pgwin32_create_signal_listener
	.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	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$128, %esi
	movl	%r14d, %ecx
	callq	_snprintf
	movq	_PIPE_ACCESS_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PIPE_TYPE_MESSAGE@GOTPCREL(%rip), %rax
	movq	_PIPE_READMODE_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PIPE_WAIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PIPE_UNLIMITED_INSTANCES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$16, %r8d
	movl	$16, %r9d
	pushq	$0
	pushq	$1000                           ## imm = 0x3E8
	callq	_CreateNamedPipe
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\\\.\\pipe\\pgsignal_%u"

	.comm	_PIPE_ACCESS_DUPLEX,4,2         ## @PIPE_ACCESS_DUPLEX
	.comm	_PIPE_TYPE_MESSAGE,4,2          ## @PIPE_TYPE_MESSAGE
	.comm	_PIPE_READMODE_MESSAGE,4,2      ## @PIPE_READMODE_MESSAGE
	.comm	_PIPE_WAIT,4,2                  ## @PIPE_WAIT
	.comm	_PIPE_UNLIMITED_INSTANCES,4,2   ## @PIPE_UNLIMITED_INSTANCES
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"could not create signal listener pipe for PID %d: error code %lu"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgwin32_create_signal_listener ; -- Begin function pgwin32_create_signal_listener
	.p2align	2
_pgwin32_create_signal_listener:        ; @pgwin32_create_signal_listener
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #128
	mov	x3, x19
	bl	_snprintf
Lloh5:
	adrp	x8, _PIPE_ACCESS_DUPLEX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PIPE_ACCESS_DUPLEX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _PIPE_TYPE_MESSAGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PIPE_TYPE_MESSAGE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _PIPE_READMODE_MESSAGE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PIPE_READMODE_MESSAGE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _PIPE_WAIT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PIPE_WAIT@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh16:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh17:
	adrp	x8, _PIPE_UNLIMITED_INSTANCES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PIPE_UNLIMITED_INSTANCES@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	w4, #16
	mov	w5, #16
	mov	w6, #1000
	mov	x7, #0
	bl	_CreateNamedPipe
	mov	x20, x0
Lloh20:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh23:
	adrp	x8, _ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
	bl	_GetLastError
	mov	x2, x0
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	ldur	x8, [x29, #-40]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\\\.\\pipe\\pgsignal_%u"

	.comm	_PIPE_ACCESS_DUPLEX,4,2         ; @PIPE_ACCESS_DUPLEX
	.comm	_PIPE_TYPE_MESSAGE,4,2          ; @PIPE_TYPE_MESSAGE
	.comm	_PIPE_READMODE_MESSAGE,4,2      ; @PIPE_READMODE_MESSAGE
	.comm	_PIPE_WAIT,4,2                  ; @PIPE_WAIT
	.comm	_PIPE_UNLIMITED_INSTANCES,4,2   ; @PIPE_UNLIMITED_INSTANCES
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"could not create signal listener pipe for PID %d: error code %lu"

.subsections_via_symbols
