	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doConnection
_doConnection:                          ## @doConnection
	.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	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BIO_s_connect
	movl	%eax, %edi
	callq	_BIO_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_BIO_set_conn_hostname
	movq	_BIO_SOCK_NODELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BIO_set_conn_mode
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_SSL_set_connect_state
	movq	%r14, %r15
	jmp	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	callq	_SSL_new
	movq	%rax, %r15
LBB0_4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_SSL_set_bio
	movq	%r15, %rdi
	callq	_SSL_connect
	testl	%eax, %eax
	jg	LBB0_11
## %bb.5:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	_verify_args@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_X509_V_OK@GOTPCREL(%rip), %rax
	movl	(%rbx), %ebx
	cmpq	(%rax), %rdi
	jne	LBB0_6
## %bb.7:
	movl	%ebx, %edi
	callq	_ERR_print_errors
	testq	%r14, %r14
	jne	LBB0_10
	jmp	LBB0_9
LBB0_6:
	callq	_X509_verify_cert_error_string
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%r14, %r14
	jne	LBB0_10
LBB0_9:
	movq	%r15, %rdi
	callq	_SSL_free
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_SOCK_NODELAY,4,2           ## @BIO_SOCK_NODELAY
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR\n"

	.comm	_verify_args,8,3                ## @verify_args
	.comm	_X509_V_OK,8,3                  ## @X509_V_OK
L_.str.1:                               ## @.str.1
	.asciz	"verify error:%s\n"

	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_LINGER,4,2                  ## @SO_LINGER
	.no_dead_strip	_doConnection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doConnection
_doConnection:                          ; @doConnection
	.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, x2
	mov	x22, x1
	mov	x19, x0
	bl	_BIO_s_connect
	bl	_BIO_new
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x1, x22
	bl	_BIO_set_conn_hostname
Lloh0:
	adrp	x8, _BIO_SOCK_NODELAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIO_SOCK_NODELAY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_BIO_set_conn_mode
	cbz	x19, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_SSL_set_connect_state
	mov	x20, x19
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_SSL_new
	mov	x20, x0
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x21
	bl	_SSL_set_bio
	mov	x0, x20
	bl	_SSL_connect
	cmp	w0, #0
	b.gt	LBB0_10
; %bb.5:
Lloh3:
	adrp	x21, _bio_err@GOTPAGE
Lloh4:
	ldr	x21, [x21, _bio_err@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
Lloh7:
	adrp	x8, _verify_args@GOTPAGE
Lloh8:
	ldr	x8, [x8, _verify_args@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
Lloh10:
	adrp	x8, _X509_V_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _X509_V_OK@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w21, [x21]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_ERR_print_errors
	cbnz	x19, LBB0_9
	b	LBB0_8
LBB0_7:
	bl	_X509_verify_cert_error_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_BIO_printf
	cbnz	x19, LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_SSL_free
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_SOCK_NODELAY,4,2           ; @BIO_SOCK_NODELAY
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR\n"

	.comm	_verify_args,8,3                ; @verify_args
	.comm	_X509_V_OK,8,3                  ; @X509_V_OK
l_.str.1:                               ; @.str.1
	.asciz	"verify error:%s\n"

	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_LINGER,4,2                  ; @SO_LINGER
	.no_dead_strip	_doConnection
.subsections_via_symbols
