	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_http_send_head_request
_io_http_send_head_request:             ## @io_http_send_head_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movq	_HTTP_REQUEST_LINE_FORMAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_HEAD_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%rdi), %edi
	callq	_vc_uri_path
	movl	%eax, %r12d
	movl	(%r14), %edi
	callq	_vc_uri_host
	movl	$8, %r15d
	movq	%r13, %rdi
	movl	$8, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_snprintf
	movslq	%eax, %rbx
	cmpl	$7, %ebx
	jg	LBB0_2
## %bb.1:
	addq	%rbx, %r13
	subl	%ebx, %r15d
	movq	_TRAILING_HEADERS_FORMAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r13, %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %rbx
LBB0_2:
	cmpq	$8, %rbx
	jge	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_io_http_send                   ## TAILCALL
LBB0_3:
	movl	$8, %edx
	subl	%ebx, %edx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movl	$8, %ecx
	callq	_LOG_ERROR
	movq	_VC_CONTAINER_ERROR_OUT_OF_RESOURCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTTP_REQUEST_LINE_FORMAT,8,3   ## @HTTP_REQUEST_LINE_FORMAT
	.comm	_HEAD_METHOD,4,2                ## @HEAD_METHOD
	.comm	_TRAILING_HEADERS_FORMAT,8,3    ## @TRAILING_HEADERS_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"comms buffer too small (%i/%u)"

	.comm	_VC_CONTAINER_ERROR_OUT_OF_RESOURCES,4,2 ## @VC_CONTAINER_ERROR_OUT_OF_RESOURCES
	.no_dead_strip	_io_http_send_head_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_http_send_head_request
_io_http_send_head_request:             ; @io_http_send_head_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _HTTP_REQUEST_LINE_FORMAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HTTP_REQUEST_LINE_FORMAT@GOTPAGEOFF]
	ldr	x20, [x8]
Lloh2:
	ldr	x21, [x9]
Lloh3:
	adrp	x8, _HEAD_METHOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEAD_METHOD@GOTPAGEOFF]
	ldr	w0, [x0]
Lloh5:
	ldr	w24, [x8]
	bl	_vc_uri_path
	mov	x22, x0
	ldr	w0, [x19]
	bl	_vc_uri_host
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #8]
	mov	w23, #8
	str	x24, [sp]
	mov	x0, x20
	mov	w1, #8
	mov	x2, x21
	bl	_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	cmp	w0, #7
	b.gt	LBB0_2
; %bb.1:
	add	x0, x20, x21
	sub	w1, w23, w21
Lloh6:
	adrp	x8, _TRAILING_HEADERS_FORMAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRAILING_HEADERS_FORMAT@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
	bl	_snprintf
	add	x21, x21, w0, sxtw
LBB0_2:
	cmp	x21, #8
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_io_http_send
LBB0_4:
	mov	w8, #8
	sub	w2, w8, w21
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	w3, #8
	bl	_LOG_ERROR
Lloh11:
	adrp	x8, _VC_CONTAINER_ERROR_OUT_OF_RESOURCES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_OUT_OF_RESOURCES@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HTTP_REQUEST_LINE_FORMAT,8,3   ; @HTTP_REQUEST_LINE_FORMAT
	.comm	_HEAD_METHOD,4,2                ; @HEAD_METHOD
	.comm	_TRAILING_HEADERS_FORMAT,8,3    ; @TRAILING_HEADERS_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"comms buffer too small (%i/%u)"

	.comm	_VC_CONTAINER_ERROR_OUT_OF_RESOURCES,4,2 ; @VC_CONTAINER_ERROR_OUT_OF_RESOURCES
	.no_dead_strip	_io_http_send_head_request
.subsections_via_symbols
