	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_read
_tls_read:                              ## @tls_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	_AVIO_FLAG_NONBLOCK@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	notl	%edi
	movq	8(%rax), %rcx
	andl	(%rcx), %edi
	movl	%edi, (%rcx)
	movl	(%r8), %ebx
	andl	(%r14), %ebx
	orl	%edi, %ebx
	movl	%ebx, (%rcx)
	movl	(%rax), %edi
	callq	_gnutls_record_recv
	testl	%eax, %eax
	jle	LBB0_1
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	je	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_print_tls_error                ## TAILCALL
LBB0_2:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_AVIO_FLAG_NONBLOCK,4,2         ## @AVIO_FLAG_NONBLOCK
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.no_dead_strip	_tls_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_read
_tls_read:                              ; @tls_read
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AVIO_FLAG_NONBLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVIO_FLAG_NONBLOCK@GOTPAGEOFF]
	ldr	x9, [x0, #8]
	ldr	w10, [x8]
	ldr	x11, [x9, #8]
	ldr	w12, [x11]
	bic	w10, w12, w10
	str	w10, [x11]
	ldr	w12, [x0]
	ldr	w8, [x8]
	and	w8, w8, w12
	orr	w8, w8, w10
	str	w8, [x11]
	ldr	w0, [x9]
	bl	_gnutls_record_recv
	mov	x1, x0
	cmp	w0, #0
	b.le	LBB0_2
LBB0_1:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	cbz	w1, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_print_tls_error
LBB0_4:
Lloh2:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AVIO_FLAG_NONBLOCK,4,2         ; @AVIO_FLAG_NONBLOCK
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.no_dead_strip	_tls_read
.subsections_via_symbols
