	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BuildHttpLogStr                ## -- Begin function BuildHttpLogStr
	.p2align	4, 0x90
_BuildHttpLogStr:                       ## @BuildHttpLogStr
	.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	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movb	$0, -41(%rbp)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	xorl	%eax, %eax
	callq	_NewBuf
	movq	%rax, %r14
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_StartWith
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_StartWith
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_StrCpy
LBB0_14:
	movq	16(%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_AddLogBufToStr
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_AddLogBufToStr
	movq	24(%rbx), %rdx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_AddLogBufToStr
	movq	32(%rbx), %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	callq	_AddLogBufToStr
	movq	40(%rbx), %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	callq	_AddLogBufToStr
	leaq	-41(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_WriteBuf
	movq	(%r14), %rdi
	callq	_CopyStr
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_FreeBuf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	%rbx, %rax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_16
## %bb.2:
	leaq	L_.str(%rip), %rdi
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CopyStr                        ## TAILCALL
LBB0_6:
	cmpl	$0, 4(%rbx)
	movl	8(%rbx), %r8d
	je	LBB0_7
## %bb.10:
	movl	48(%rbx), %ecx
	cmpl	$443, %r8d                      ## imm = 0x1BB
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_Format
	jmp	LBB0_14
LBB0_7:
	movl	(%rbx), %r9d
	movl	48(%rbx), %ecx
	cmpl	$80, %r8d
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r9d, %r8d
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
LBB0_13:
	xorl	%eax, %eax
	callq	_Format
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_Format
	jmp	LBB0_14
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"http://"

L_.str.2:                               ## @.str.2
	.asciz	"https://"

L_.str.3:                               ## @.str.3
	.asciz	"http://%s%s"

L_.str.4:                               ## @.str.4
	.asciz	"http://%s:%u%s"

L_.str.5:                               ## @.str.5
	.asciz	"https://%s/"

L_.str.6:                               ## @.str.6
	.asciz	"https://%s:%u/"

L_.str.7:                               ## @.str.7
	.asciz	"HttpMethod"

L_.str.8:                               ## @.str.8
	.asciz	"HttpUrl"

L_.str.9:                               ## @.str.9
	.asciz	"HttpProtocol"

L_.str.10:                              ## @.str.10
	.asciz	"HttpReferer"

L_.str.11:                              ## @.str.11
	.asciz	"HttpUserAgent"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BuildHttpLogStr                ; -- Begin function BuildHttpLogStr
	.p2align	2
_BuildHttpLogStr:                       ; @BuildHttpLogStr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	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	x8, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	sturb	wzr, [x29, #-41]
	cbz	x0, LBB0_6
; %bb.1:
	bl	_NewBuf
	mov	x20, x0
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_StartWith
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_StartWith
	cbz	x0, LBB0_8
LBB0_3:
	ldr	w2, [x19]
	mov	x0, x21
	mov	x1, x22
	bl	_StrCpy
LBB0_4:
	ldr	x2, [x19, #16]
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_AddLogBufToStr
Lloh14:
	adrp	x1, l_.str.8@PAGE
Lloh15:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_AddLogBufToStr
	ldr	x2, [x19, #24]
Lloh16:
	adrp	x1, l_.str.9@PAGE
Lloh17:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_AddLogBufToStr
	ldr	x2, [x19, #32]
Lloh18:
	adrp	x1, l_.str.10@PAGE
Lloh19:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_AddLogBufToStr
	ldr	x2, [x19, #40]
Lloh20:
	adrp	x1, l_.str.11@PAGE
Lloh21:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_AddLogBufToStr
	sub	x1, x29, #41
	mov	x0, x20
	mov	w2, #1
	bl	_WriteBuf
	ldr	x0, [x20]
	bl	_CopyStr
	mov	x19, x0
	mov	x0, x20
	bl	_FreeBuf
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.5:
	mov	x0, x19
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.7:
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_CopyStr
LBB0_8:
	ldp	w9, w8, [x19, #4]
	cbz	w9, LBB0_11
; %bb.9:
	ldr	w3, [x19, #48]
	cmp	w8, #443
	b.ne	LBB0_13
; %bb.10:
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_Format
	b	LBB0_4
LBB0_11:
	ldr	w3, [x19, #48]
	ldr	w9, [x19]
	cmp	w8, #80
	b.ne	LBB0_14
; %bb.12:
	str	x9, [sp, #-16]!
Lloh32:
	adrp	x2, l_.str.3@PAGE
Lloh33:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_13:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #-16]!
Lloh34:
	adrp	x2, l_.str.6@PAGE
Lloh35:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_15
LBB0_14:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	stp	x8, x9, [sp, #-16]!
Lloh36:
	adrp	x2, l_.str.4@PAGE
Lloh37:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_15:
	mov	x0, x21
	mov	x1, x22
	bl	_Format
	add	sp, sp, #16
	b	LBB0_4
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"http://"

l_.str.2:                               ; @.str.2
	.asciz	"https://"

l_.str.3:                               ; @.str.3
	.asciz	"http://%s%s"

l_.str.4:                               ; @.str.4
	.asciz	"http://%s:%u%s"

l_.str.5:                               ; @.str.5
	.asciz	"https://%s/"

l_.str.6:                               ; @.str.6
	.asciz	"https://%s:%u/"

l_.str.7:                               ; @.str.7
	.asciz	"HttpMethod"

l_.str.8:                               ; @.str.8
	.asciz	"HttpUrl"

l_.str.9:                               ; @.str.9
	.asciz	"HttpProtocol"

l_.str.10:                              ; @.str.10
	.asciz	"HttpReferer"

l_.str.11:                              ; @.str.11
	.asciz	"HttpUserAgent"

.subsections_via_symbols
