	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_socketpool_create_target   ## -- Begin function h2o_socketpool_create_target
	.p2align	4, 0x90
_h2o_socketpool_create_target:          ## @h2o_socketpool_create_target
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$88, %edi
	callq	_h2o_mem_alloc
	movq	%rax, %rbx
	leaq	56(%rax), %r15
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_h2o_url_copy
	movq	56(%rbx), %rax
	movq	64(%rbx), %rcx
	xorl	%edi, %edi
	cmpb	$0, (%rax,%rcx)
	sete	%dil
	callq	_assert
	leaq	-48(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	callq	_detect_target_type
	movl	%eax, (%rbx)
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rax
	movq	_AF_UNIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_2:
	movq	72(%rbx), %rdi
	movq	80(%rbx), %rsi
	callq	_h2o_strtolower
	movq	56(%rbx), %rdi
	movq	64(%rbx), %rsi
	callq	_h2o_strtolower
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.4:
	movl	$4, %edi
	callq	_h2o_mem_alloc
	movq	%rax, %r12
	movq	%rax, 40(%rbx)
	movq	%r15, %rdi
	callq	_h2o_url_get_port
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_sprintf
	leaq	48(%rbx), %r15
	jmp	LBB0_6
LBB0_5:
	xorl	%edi, %edi
	cmpl	$5, -36(%rbp)
	setb	%dil
	callq	_assert
	leaq	32(%rbx), %r15
	leaq	36(%rbx), %rdi
	movl	-36(%rbp), %edx
	leaq	-48(%rbp), %rsi
	callq	_memcpy
	movl	-36(%rbp), %eax
LBB0_6:
	movl	%eax, (%r15)
LBB0_7:
	movq	$0, 16(%rbx)
	testq	%r14, %r14
	je	LBB0_8
## %bb.9:
	movq	(%r14), %rax
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
LBB0_10:
	movq	%rax, 24(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_h2o_linklist_init_anchor
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNIX,8,3                    ## @AF_UNIX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_socketpool_create_target   ; -- Begin function h2o_socketpool_create_target
	.p2align	2
_h2o_socketpool_create_target:          ; @h2o_socketpool_create_target
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x22, x0
	mov	w0, #88
	bl	_h2o_mem_alloc
	mov	x19, x0
	add	x21, x0, #56
	mov	x0, #0
	mov	x1, x21
	mov	x2, x22
	bl	_h2o_url_copy
	ldp	x8, x9, [x19, #56]
	ldrb	w8, [x8, x9]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x22
	bl	_detect_target_type
	str	w0, [x19]
	cmp	w0, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _AF_UNIX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_UNIX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
LBB0_2:
	ldp	x0, x1, [x19, #72]
	bl	_h2o_strtolower
	ldp	x0, x1, [x19, #56]
	bl	_h2o_strtolower
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.4:
	mov	w0, #4
	bl	_h2o_mem_alloc
	mov	x22, x0
	str	x0, [x19, #40]
	mov	x0, x21
	bl	_h2o_url_get_port
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	add	x21, x19, #48
	b	LBB0_6
LBB0_5:
	ldr	w8, [sp, #4]
	cmp	w8, #5
	cset	w0, lo
	bl	_assert
	add	x21, x19, #32
	add	x0, x19, #36
	ldr	w2, [sp, #4]
	add	x1, sp, #8
	bl	_memcpy
	ldr	w0, [sp, #4]
LBB0_6:
	str	w0, [x21]
LBB0_7:
	str	xzr, [x19, #16]
	cbz	x20, LBB0_9
; %bb.8:
	ldr	x8, [x20]
	b	LBB0_10
LBB0_9:
	mov	x8, #0
LBB0_10:
	str	x8, [x19, #24]
	add	x0, x19, #8
	bl	_h2o_linklist_init_anchor
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNIX,8,3                    ; @AF_UNIX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

.subsections_via_symbols
