	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_spawnproc
_create_spawnproc:                      ## @create_spawnproc
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$-1, -88(%rbp)
	movq	_AF_UNIX@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, 4(%r8)
	movl	(%r8), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	movq	%rbx, %rcx
	callq	_snprintf
	cmpl	$4, %eax
	jb	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	jmp	LBB0_2
LBB0_3:
	movl	(%r15), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_bind
	testq	%rax, %rax
	movq	%r12, %r15
	je	LBB0_8
## %bb.6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	jmp	LBB0_7
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %rcx
LBB0_2:
	xorl	%eax, %eax
	callq	_h2o_configurator_errprintf
	movl	$-1, %ebx
	jmp	LBB0_18
LBB0_8:
	movq	_H2O_SOMAXCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_listen
	testq	%rax, %rax
	movq	%r13, %r12
	je	LBB0_10
## %bb.9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
LBB0_7:
	movq	%r15, %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_h2o_configurator_errprintf
LBB0_18:
	movl	-88(%rbp), %edi
	cmpl	$-1, %edi
	je	LBB0_20
## %bb.19:
	callq	_close
LBB0_20:
	movl	-84(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_22
## %bb.21:
	callq	_close
LBB0_22:
	cmpl	$-1, %ebx
	je	LBB0_24
## %bb.23:
	movl	%ebx, %edi
	callq	_close
LBB0_24:
	movl	(%r14), %edi
	callq	_unlink
	movl	$-1, %eax
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_28
## %bb.26:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movl	(%r14), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	callq	_chown
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movslq	(%r14), %r13
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_h2o_configurator_errprintf
	jmp	LBB0_18
LBB0_13:
	leaq	-88(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_h2o_configurator_errprintf
	movq	$-1, -88(%rbp)
	jmp	LBB0_18
LBB0_15:
	movl	-84(%rbp), %edi
	movq	_F_SETFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FD_CLOEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fcntl
	testq	%rax, %rax
	js	LBB0_18
## %bb.16:
	movl	%ebx, -80(%rbp)
	movl	$0, -76(%rbp)
	movl	-88(%rbp), %eax
	movl	%eax, -72(%rbp)
	movabsq	$-4294967291, %rax              ## imm = 0xFFFFFFFF00000005
	movq	%rax, -68(%rbp)
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rdi
	leaq	-80(%rbp), %rdx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_h2o_spawnp
	cmpl	$-1, %eax
	je	LBB0_17
## %bb.27:
	movl	%ebx, %edi
	callq	_close
	movl	-88(%rbp), %edi
	callq	_close
	movl	-84(%rbp), %eax
	jmp	LBB0_25
LBB0_17:
	movq	(%r15), %r15
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.7(%rip), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_h2o_error_printf
	jmp	LBB0_18
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/_"

L_.str.1:                               ## @.str.1
	.asciz	"unix socket path too long: %s"

	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
L_.str.2:                               ## @.str.2
	.asciz	"socket(2) failed: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"bind(2) failed: %s"

	.comm	_H2O_SOMAXCONN,4,2              ## @H2O_SOMAXCONN
L_.str.4:                               ## @.str.4
	.asciz	"listen(2) failed: %s"

L_.str.5:                               ## @.str.5
	.asciz	"chown(2) failed to change ownership of socket:%s:%s"

L_.str.6:                               ## @.str.6
	.asciz	"pipe(2) failed: %s"

	.comm	_F_SETFD,4,2                    ## @F_SETFD
	.comm	_FD_CLOEXEC,4,2                 ## @FD_CLOEXEC
L_.str.7:                               ## @.str.7
	.asciz	"[lib/handler/fastcgi.c] failed to launch helper program %s:%s\n"

	.no_dead_strip	_create_spawnproc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function create_spawnproc
lCPI0_0:
	.long	5                               ; 0x5
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_create_spawnproc:                      ; @create_spawnproc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x5
	mov	x19, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	x8, #-1
	str	x8, [sp, #8]
Lloh3:
	adrp	x25, _AF_UNIX@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AF_UNIX@GOTPAGEOFF]
	ldr	w8, [x25]
	str	w8, [x4, #4]
	ldr	w0, [x4]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	mov	x3, x20
	bl	_snprintf
	cmp	w0, #4
	b.lo	LBB0_2
; %bb.1:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_h2o_configurator_errprintf
	mov	w20, #-1
	b	LBB0_10
LBB0_2:
	ldr	w0, [x25]
Lloh9:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	mov	x20, x0
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #8
	bl	_bind
	cbz	x0, LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh22:
	adrp	x8, _H2O_SOMAXCONN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _H2O_SOMAXCONN@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_listen
	cbz	x0, LBB0_19
; %bb.7:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_8:
	mov	x0, x22
	mov	x1, x21
LBB0_9:
	bl	_h2o_configurator_errprintf
LBB0_10:
	ldr	w0, [sp, #8]
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.11:
	bl	_close
LBB0_12:
	ldr	w0, [sp, #12]
	cbz	w0, LBB0_14
; %bb.13:
	bl	_close
LBB0_14:
	cmn	w20, #1
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x20
	bl	_close
LBB0_16:
	ldr	w0, [x19]
	bl	_unlink
	mov	w0, #-1
LBB0_17:
	ldr	x8, [sp, #40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	cbz	x24, LBB0_22
; %bb.20:
	ldr	w0, [x19]
	ldp	w2, w1, [x24]
	bl	_chown
	cbz	x0, LBB0_22
; %bb.21:
	ldrsw	x23, [x19]
Lloh33:
	adrp	x8, _errno@GOTPAGE
Lloh34:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh36:
	adrp	x2, l_.str.5@PAGE
Lloh37:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x23
	b	LBB0_9
LBB0_22:
	add	x0, sp, #8
	bl	_pipe
	cbz	x0, LBB0_24
; %bb.23:
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh41:
	adrp	x2, l_.str.6@PAGE
Lloh42:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_h2o_configurator_errprintf
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [sp, #8]
	b	LBB0_10
LBB0_24:
	ldr	w0, [sp, #12]
Lloh43:
	adrp	x8, _F_SETFD@GOTPAGE
Lloh44:
	ldr	x8, [x8, _F_SETFD@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
Lloh46:
	adrp	x8, _FD_CLOEXEC@GOTPAGE
Lloh47:
	ldr	x8, [x8, _FD_CLOEXEC@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	bl	_fcntl
	tbnz	x0, #63, LBB0_10
; %bb.25:
	stp	w20, wzr, [sp, #20]
	ldr	w8, [sp, #8]
	str	w8, [sp, #28]
Lloh49:
	adrp	x8, lCPI0_0@PAGE
Lloh50:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #32]
	ldr	x0, [x23]
	add	x2, sp, #20
	mov	x1, x23
	mov	w3, #0
	bl	_h2o_spawnp
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.26:
	mov	x0, x20
	bl	_close
	ldr	w0, [sp, #8]
	bl	_close
	ldr	w0, [sp, #12]
	b	LBB0_17
LBB0_27:
	ldr	x21, [x23]
Lloh51:
	adrp	x8, _errno@GOTPAGE
Lloh52:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh54:
	adrp	x0, l_.str.7@PAGE
Lloh55:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x21
	bl	_h2o_error_printf
	b	LBB0_10
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdr	Lloh49, Lloh50
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/_"

l_.str.1:                               ; @.str.1
	.asciz	"unix socket path too long: %s"

	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
l_.str.2:                               ; @.str.2
	.asciz	"socket(2) failed: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"bind(2) failed: %s"

	.comm	_H2O_SOMAXCONN,4,2              ; @H2O_SOMAXCONN
l_.str.4:                               ; @.str.4
	.asciz	"listen(2) failed: %s"

l_.str.5:                               ; @.str.5
	.asciz	"chown(2) failed to change ownership of socket:%s:%s"

l_.str.6:                               ; @.str.6
	.asciz	"pipe(2) failed: %s"

	.comm	_F_SETFD,4,2                    ; @F_SETFD
	.comm	_FD_CLOEXEC,4,2                 ; @FD_CLOEXEC
l_.str.7:                               ; @.str.7
	.asciz	"[lib/handler/fastcgi.c] failed to launch helper program %s:%s\n"

	.no_dead_strip	_create_spawnproc
.subsections_via_symbols
