	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movl	$10264, %eax                    ## imm = 0x2818
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CAFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	cmpl	$2, %edi
	jl	LBB0_1
## %bb.2:
	movq	8(%rsi), %r12
	je	LBB0_4
## %bb.3:
	movq	16(%rsi), %r14
	jmp	LBB0_4
LBB0_1:
	movq	_HOSTPORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -10292(%rbp)              ## 4-byte Spill
	movq	%r12, %rdi
	callq	_OPENSSL_strdup
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movb	$0, (%rax)
LBB0_6:
	xorl	%eax, %eax
	callq	_TLS_client_method
	movl	%eax, %edi
	callq	_SSL_CTX_new
	movq	%rax, %rbx
	movq	_SSL_VERIFY_PEER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_SSL_CTX_set_verify
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_SSL_CTX_load_verify_locations
	movq	%rbx, -10304(%rbp)              ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_SSL_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_SSL_set_connect_state
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_SSL_set1_host
	movl	$0, %r13d
	testq	%rax, %rax
	jle	LBB0_20
## %bb.7:
	xorl	%eax, %eax
	callq	_BIO_f_ssl
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %r14
	movq	_BIO_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_BIO_set_ssl
	xorl	%eax, %eax
	callq	_BIO_s_connect
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_BIO_set_conn_hostname
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_BIO_set_nbio
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_BIO_push
	movq	%rax, %r13
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %r14
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	addl	%eax, %r12d
	subl	%eax, %ebx
	jle	LBB0_13
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movslq	%r12d, %r15
	leaq	L_.str(%rip), %rax
	addq	%rax, %r15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_BIO_write
	testl	%eax, %eax
	jg	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r13, %rdi
	callq	_BIO_should_retry
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_sleep
	jmp	LBB0_9
LBB0_13:
	leaq	-10288(%rbp), %rsi
	movq	%r13, %rdi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_BIO_read
	testl	%eax, %eax
	je	LBB0_19
## %bb.14:
	leaq	L_.str.2(%rip), %r14
	leaq	-10288(%rbp), %rbx
	movq	_stdout@GOTPCREL(%rip), %r15
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_fwrite
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_BIO_read
	testl	%eax, %eax
	je	LBB0_19
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jns	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r13, %rdi
	callq	_BIO_should_retry
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_sleep
	jmp	LBB0_18
LBB0_20:
	xorl	%eax, %eax
	callq	_ERR_peek_error
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	callq	_ERR_print_errors_fp
LBB0_23:
	movl	-10292(%rbp), %r14d             ## 4-byte Reload
LBB0_24:
	movq	-10304(%rbp), %rbx              ## 8-byte Reload
	movq	%r13, %rdi
	callq	_BIO_free_all
	movq	%rbx, %rdi
	callq	_SSL_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.25:
	movl	%r14d, %eax
	addq	$10264, %rsp                    ## imm = 0x2818
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_24
LBB0_21:
	callq	_main.cold.1
	jmp	LBB0_23
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function main.cold.1
_main.cold.1:                           ## @main.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTPORT,8,3                   ## @HOSTPORT
	.comm	_CAFILE,8,3                     ## @CAFILE
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_SSL_VERIFY_PEER,4,2            ## @SSL_VERIFY_PEER
	.comm	_BIO_CLOSE,4,2                  ## @BIO_CLOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GET / HTTP/1.0\r\n\r\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"write DELAY\n"

L_.str.2:                               ## @.str.2
	.asciz	"read DELAY\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
L_.str.3:                               ## @.str.3
	.asciz	"errno=%d "

	.comm	_errno,4,2                      ## @errno
L_.str.4:                               ## @.str.4
	.asciz	"error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w9, #10256
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #2064
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh5:
	adrp	x8, _CAFILE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CAFILE@GOTPAGEOFF]
Lloh7:
	ldr	x22, [x8]
Lloh8:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
	cmp	w0, #2
	b.lt	LBB0_3
; %bb.1:
	ldr	x21, [x1, #8]
	b.eq	LBB0_4
; %bb.2:
	ldr	x22, [x1, #16]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x9, _HOSTPORT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HOSTPORT@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x9]
LBB0_4:
	ldr	w19, [x8]
	mov	x0, x21
	bl	_OPENSSL_strdup
	mov	x23, x0
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.5:
	strb	wzr, [x0]
LBB0_6:
	bl	_TLS_client_method
	bl	_SSL_CTX_new
	mov	x20, x0
Lloh13:
	adrp	x8, _SSL_VERIFY_PEER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_VERIFY_PEER@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_SSL_CTX_set_verify
	mov	x0, x20
	mov	x1, x22
	mov	x2, #0
	bl	_SSL_CTX_load_verify_locations
	mov	x0, x20
	bl	_SSL_new
	mov	x22, x0
	bl	_SSL_set_connect_state
	mov	x0, x22
	mov	x1, x23
	bl	_SSL_set1_host
Lloh16:
	adrp	x26, _stderr@GOTPAGE
Lloh17:
	ldr	x26, [x26, _stderr@GOTPAGEOFF]
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.7:
	bl	_BIO_f_ssl
	bl	_BIO_new
	mov	x23, x0
Lloh18:
	adrp	x8, _BIO_CLOSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BIO_CLOSE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_BIO_set_ssl
	bl	_BIO_s_connect
	bl	_BIO_new
	mov	x22, x0
	mov	x1, x21
	bl	_BIO_set_conn_hostname
	mov	x0, x22
	mov	w1, #1
	bl	_BIO_set_nbio
	mov	x0, x23
	mov	x1, x22
	bl	_BIO_push
	mov	x21, x0
Lloh21:
	adrp	x22, l_.str@PAGE
Lloh22:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
	mov	w27, #0
Lloh23:
	adrp	x24, l_.str.1@PAGE
Lloh24:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w27, w0, w27
	sub	w23, w23, w0
	cmp	w23, #0
	b.le	LBB0_17
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	add	x25, x22, w27, sxtw
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	bl	_BIO_write
	cmp	w0, #0
	b.gt	LBB0_8
LBB0_10:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_BIO_should_retry
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w0, [x26]
	mov	x1, x24
	bl	_fprintf
	mov	w0, #1
	bl	_sleep
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	bl	_BIO_write
	cmp	w0, #1
	b.lt	LBB0_10
	b	LBB0_8
LBB0_12:
	mov	x21, #0
LBB0_13:
	bl	_ERR_peek_error
	mov	x8, x0
	ldr	w0, [x26]
	cbz	x8, LBB0_25
; %bb.14:
	bl	_ERR_print_errors_fp
LBB0_15:
	mov	x0, x21
	bl	_BIO_free_all
	mov	x0, x20
	bl	_SSL_CTX_free
	ldur	x8, [x29, #-88]
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_26
; %bb.16:
	mov	x0, x19
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #2064
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10240
	bl	_BIO_read
	cbz	w0, LBB0_24
; %bb.18:
	mov	x2, x0
Lloh28:
	adrp	x22, l_.str.2@PAGE
Lloh29:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh30:
	adrp	x23, _stdout@GOTPAGE
Lloh31:
	ldr	x23, [x23, _stdout@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w3, [x23]
	add	x0, sp, #8
	mov	w1, #1
	bl	_fwrite
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10240
	bl	_BIO_read
	mov	x2, x0
	cbz	w0, LBB0_24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	tbz	w2, #31, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x21
	bl	_BIO_should_retry
	cbz	x0, LBB0_13
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_fprintf
	mov	w0, #1
	bl	_sleep
	b	LBB0_20
LBB0_24:
Lloh32:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh34:
	ldr	w19, [x8]
	b	LBB0_15
LBB0_25:
	bl	_main.cold.1
	b	LBB0_15
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function main.cold.1
_main.cold.1:                           ; @main.cold.1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
Lloh40:
	adrp	x0, l_.str.4@PAGE
Lloh41:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTPORT,8,3                   ; @HOSTPORT
	.comm	_CAFILE,8,3                     ; @CAFILE
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_SSL_VERIFY_PEER,4,2            ; @SSL_VERIFY_PEER
	.comm	_BIO_CLOSE,4,2                  ; @BIO_CLOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GET / HTTP/1.0\r\n\r\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"write DELAY\n"

l_.str.2:                               ; @.str.2
	.asciz	"read DELAY\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
l_.str.3:                               ; @.str.3
	.asciz	"errno=%d "

	.comm	_errno,4,2                      ; @errno
l_.str.4:                               ; @.str.4
	.asciz	"error"

.subsections_via_symbols
