	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_loop
_tls_loop:                              ## @tls_loop
	.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	%rsi, %r14
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_SSL_get_fd
	movl	%eax, %r15d
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_PJDLOG_ASSERT
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_FD_ZERO
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_FD_SET
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_FD_SET
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_MAX
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r13d
	xorl	%edi, %edi
	movq	_FD_SETSIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setl	%dil
	callq	_PJDLOG_ASSERT
	movl	%r13d, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_select
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_pjdlog_exit
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_tcp_recv_ssl_send
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ssl_recv_tcp_send
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_FD_SETSIZE,8,3                 ## @FD_SETSIZE
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EX_TEMPFAIL,4,2                ## @EX_TEMPFAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"select() failed"

	.no_dead_strip	_tls_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_loop
_tls_loop:                              ; @tls_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_SSL_get_fd
	mov	x21, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_PJDLOG_ASSERT
Lloh0:
	adrp	x24, _FD_SETSIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FD_SETSIZE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _errno@GOTPAGE
Lloh3:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh4:
	adrp	x26, _EINTR@GOTPAGE
Lloh5:
	ldr	x26, [x26, _EINTR@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x27, _EX_TEMPFAIL@GOTPAGE
Lloh9:
	ldr	x27, [x27, _EX_TEMPFAIL@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_FD_ZERO
	add	x1, sp, #12
	mov	x0, x20
	bl	_FD_SET
	add	x1, sp, #12
	mov	x0, x21
	bl	_FD_SET
	mov	x0, x20
	mov	x1, x21
	bl	_MAX
	add	w23, w0, #1
	ldr	w8, [x24]
	cmp	w0, w8
	cset	w0, lt
	bl	_PJDLOG_ASSERT
	add	x1, sp, #12
	mov	x0, x23
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_select
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	bl	_pjdlog_exit
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #12
	mov	x0, x20
	bl	_FD_ISSET
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_tcp_recv_ssl_send
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #12
	mov	x0, x21
	bl	_FD_ISSET
	cbz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ssl_recv_tcp_send
	b	LBB0_1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FD_SETSIZE,8,3                 ; @FD_SETSIZE
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EX_TEMPFAIL,4,2                ; @EX_TEMPFAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select() failed"

	.no_dead_strip	_tls_loop
.subsections_via_symbols
