	.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
	subq	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BR_SSL_BUFSIZE_BIDI@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	leal	-5(%rbx), %eax
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rcx
	cmpl	$-2, %eax
	jb	LBB0_15
## %bb.1:
	movq	%r15, -584(%rbp)                ## 8-byte Spill
	movq	8(%r13), %r12
	movq	16(%r13), %r15
	cmpl	$4, %ebx
	movq	%rdx, -600(%rbp)                ## 8-byte Spill
	jne	LBB0_2
## %bb.3:
	movq	24(%r13), %r13
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %r13
LBB0_4:
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_host_connect
	movl	%eax, -572(%rbp)
	testl	%eax, %eax
	js	LBB0_13
## %bb.5:
	movq	_TAs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TAs_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %r15
	leaq	-568(%rbp), %r13
	leaq	-604(%rbp), %rsi
	movq	%r13, %rdi
	callq	_br_ssl_client_init_full
	movq	%r13, %rdi
	movq	-600(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	$1, %ecx
	callq	_br_ssl_engine_set_buffer
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_br_ssl_client_reset
	movq	_sock_read@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sock_write@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-588(%rbp), %rbx
	leaq	-572(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rcx, %r9
	callq	_br_sslio_init
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_br_sslio_write_all
	movq	%r15, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_br_sslio_write_all
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$17, %edx
	callq	_br_sslio_write_all
	movq	%r12, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_br_sslio_write_all
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_br_sslio_write_all
	movq	%rbx, %rdi
	callq	_br_sslio_flush
	leaq	-560(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$512, %edx                      ## imm = 0x200
	callq	_br_sslio_read
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	movq	_stdout@GOTPCREL(%rip), %r15
	leaq	-560(%rbp), %rbx
	leaq	-588(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_fwrite
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_br_sslio_read
	testl	%eax, %eax
	jns	LBB0_7
LBB0_8:
	movl	-572(%rbp), %edi
	callq	_close
	leaq	-568(%rbp), %rdi
	callq	_br_ssl_engine_current_state
	movq	_BR_SSL_CLOSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:
	leaq	-568(%rbp), %rdi
	callq	_br_ssl_engine_last_error
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %eax
	movq	-584(%rbp), %r15                ## 8-byte Reload
	je	LBB0_10
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_14
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_13:
	movq	-584(%rbp), %r15                ## 8-byte Reload
LBB0_14:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rcx
LBB0_15:
	movl	(%rcx), %eax
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_SSL_BUFSIZE_BIDI,4,2        ## @BR_SSL_BUFSIZE_BIDI
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_TAs,4,2                        ## @TAs
	.comm	_TAs_NUM,4,2                    ## @TAs_NUM
	.comm	_sock_read,4,2                  ## @sock_read
	.comm	_sock_write,4,2                 ## @sock_write
L_.str.1:                               ## @.str.1
	.asciz	"GET "

L_.str.2:                               ## @.str.2
	.asciz	" HTTP/1.0\r\nHost: "

L_.str.3:                               ## @.str.3
	.asciz	"\r\n\r\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_BR_SSL_CLOSED,8,3              ## @BR_SSL_CLOSED
	.comm	_stderr,4,2                     ## @stderr
L_.str.4:                               ## @.str.4
	.asciz	"closed.\n"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
L_.str.5:                               ## @.str.5
	.asciz	"SSL error %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"socket closed without proper SSL termination\n"

.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #544
	mov	x19, sp
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _BR_SSL_BUFSIZE_BIDI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BR_SSL_BUFSIZE_BIDI@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	x23, x8, x9
	mov	sp, x23
	sub	w8, w0, #5
	cmn	w8, #2
	b.lo	LBB0_12
; %bb.1:
	ldp	x20, x24, [x1, #8]
	cmp	w0, #4
	b.ne	LBB0_3
; %bb.2:
	ldr	x21, [x1, #24]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
LBB0_4:
Lloh10:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_signal
	mov	x0, x20
	mov	x1, x24
	bl	_host_connect
	str	w0, [x19, #20]
	tbnz	w0, #31, LBB0_12
; %bb.5:
Lloh16:
	adrp	x8, _TAs@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TAs@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _TAs_NUM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TAs_NUM@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	add	x0, x19, #16
	add	x1, x19, #12
	bl	_br_ssl_client_init_full
	add	x0, x19, #16
	mov	x1, x23
	mov	x2, x22
	mov	w3, #1
	bl	_br_ssl_engine_set_buffer
	add	x0, x19, #16
	mov	x1, x20
	mov	w2, #0
	bl	_br_ssl_client_reset
Lloh22:
	adrp	x8, _sock_read@GOTPAGE
Lloh23:
	ldr	x8, [x8, _sock_read@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x8, _sock_write@GOTPAGE
Lloh26:
	ldr	x8, [x8, _sock_write@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
	add	x0, x19, #8
	add	x1, x19, #16
	add	x3, x19, #20
	add	x5, x19, #20
	bl	_br_sslio_init
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, x19, #8
	mov	w2, #4
	bl	_br_sslio_write_all
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	add	x0, x19, #8
	mov	x1, x21
	bl	_br_sslio_write_all
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, x19, #8
	mov	w2, #17
	bl	_br_sslio_write_all
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	add	x0, x19, #8
	mov	x1, x20
	bl	_br_sslio_write_all
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, x19, #8
	mov	w2, #4
	bl	_br_sslio_write_all
	add	x0, x19, #8
	bl	_br_sslio_flush
	add	x0, x19, #8
	add	x1, x19, #24
	mov	w2, #512
	bl	_br_sslio_read
	tbnz	w0, #31, LBB0_8
; %bb.6:
	mov	x2, x0
Lloh34:
	adrp	x20, _stdout@GOTPAGE
Lloh35:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x20]
	add	x0, x19, #24
	mov	w1, #1
	bl	_fwrite
	add	x0, x19, #8
	add	x1, x19, #24
	mov	w2, #512
	bl	_br_sslio_read
	mov	x2, x0
	tbz	w0, #31, LBB0_7
LBB0_8:
	ldr	w0, [x19, #20]
	bl	_close
	add	x0, x19, #16
	bl	_br_ssl_engine_current_state
Lloh36:
	adrp	x8, _BR_SSL_CLOSED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BR_SSL_CLOSED@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:
	add	x0, x19, #16
	bl	_br_ssl_engine_last_error
	mov	x8, x0
Lloh39:
	adrp	x9, _stderr@GOTPAGE
Lloh40:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x9]
	cbz	w8, LBB0_15
; %bb.10:
	str	x8, [sp, #-16]!
Lloh42:
	adrp	x1, l_.str.5@PAGE
Lloh43:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	b	LBB0_12
LBB0_11:
Lloh44:
	adrp	x8, _stderr@GOTPAGE
Lloh45:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.6@PAGE
Lloh48:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_12:
Lloh49:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh54:
	adrp	x1, l_.str.4@PAGE
Lloh55:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
Lloh56:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
	b	LBB0_13
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 AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_SSL_BUFSIZE_BIDI,4,2        ; @BR_SSL_BUFSIZE_BIDI
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_TAs,4,2                        ; @TAs
	.comm	_TAs_NUM,4,2                    ; @TAs_NUM
	.comm	_sock_read,4,2                  ; @sock_read
	.comm	_sock_write,4,2                 ; @sock_write
l_.str.1:                               ; @.str.1
	.asciz	"GET "

l_.str.2:                               ; @.str.2
	.asciz	" HTTP/1.0\r\nHost: "

l_.str.3:                               ; @.str.3
	.asciz	"\r\n\r\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_BR_SSL_CLOSED,8,3              ; @BR_SSL_CLOSED
	.comm	_stderr,4,2                     ; @stderr
l_.str.4:                               ; @.str.4
	.asciz	"closed.\n"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
l_.str.5:                               ; @.str.5
	.asciz	"SSL error %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"socket closed without proper SSL termination\n"

.subsections_via_symbols
