	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_shutdown                   ## -- Begin function SSL_shutdown
	.p2align	4, 0x90
_SSL_shutdown:                          ## @SSL_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_SSL_in_init
	testl	%eax, %eax
	je	LBB0_3
## %bb.7:
	movq	_SSL_F_SSL_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_SHUTDOWN_WHILE_IN_INIT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_SSL_F_SSL_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_UNINITIALIZED@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	callq	_SSLerr
	movl	$-1, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_SSL_MODE_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	callq	_ASYNC_get_current_job
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_5:
	movq	%rbx, -16(%rbp)
	movq	_OTHERFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_ssl_io_intern@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ssl_start_async_job
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_SHUTDOWN,4,2         ## @SSL_F_SSL_SHUTDOWN
	.comm	_SSL_R_UNINITIALIZED,4,2        ## @SSL_R_UNINITIALIZED
	.comm	_SSL_MODE_ASYNC,4,2             ## @SSL_MODE_ASYNC
	.comm	_OTHERFUNC,4,2                  ## @OTHERFUNC
	.comm	_ssl_io_intern,4,2              ## @ssl_io_intern
	.comm	_SSL_R_SHUTDOWN_WHILE_IN_INIT,4,2 ## @SSL_R_SHUTDOWN_WHILE_IN_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_shutdown                   ; -- Begin function SSL_shutdown
	.p2align	2
_SSL_shutdown:                          ; @SSL_shutdown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_SSL_in_init
	cbz	w0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _SSL_F_SSL_SHUTDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_SSL_SHUTDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SSL_R_SHUTDOWN_WHILE_IN_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_R_SHUTDOWN_WHILE_IN_INIT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _SSL_F_SSL_SHUTDOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSL_F_SSL_SHUTDOWN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _SSL_R_UNINITIALIZED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_R_UNINITIALIZED@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	w8, [x19]
Lloh10:
	adrp	x9, _SSL_MODE_ASYNC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSL_MODE_ASYNC@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	bl	_ASYNC_get_current_job
	cbz	x0, LBB0_9
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	br	x1
LBB0_9:
	str	x19, [sp, #24]
Lloh13:
	adrp	x8, _OTHERFUNC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OTHERFUNC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh16:
	adrp	x8, _ssl_io_intern@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ssl_io_intern@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_ssl_start_async_job
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_SHUTDOWN,4,2         ; @SSL_F_SSL_SHUTDOWN
	.comm	_SSL_R_UNINITIALIZED,4,2        ; @SSL_R_UNINITIALIZED
	.comm	_SSL_MODE_ASYNC,4,2             ; @SSL_MODE_ASYNC
	.comm	_OTHERFUNC,4,2                  ; @OTHERFUNC
	.comm	_ssl_io_intern,4,2              ; @ssl_io_intern
	.comm	_SSL_R_SHUTDOWN_WHILE_IN_INIT,4,2 ; @SSL_R_SHUTDOWN_WHILE_IN_INIT
.subsections_via_symbols
