	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gss_read
_gss_read:                              ## @gss_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	%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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_pqsecure_raw_read
	movq	%rax, (%r14)
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	je	LBB0_5
LBB0_2:
	movq	_PGRES_POLLING_OK@GOTPCREL(%rip), %r13
	jmp	LBB0_10
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	movq	_PGRES_POLLING_FAILED@GOTPCREL(%rip), %r13
	jmp	LBB0_10
LBB0_5:
	movq	%rbx, %rdi
	callq	_pqReadReady
	movq	_PGRES_POLLING_FAILED@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_pqsecure_raw_read
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_10
LBB0_9:
	movq	_PGRES_POLLING_READING@GOTPCREL(%rip), %r13
LBB0_10:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.comm	_PGRES_POLLING_READING,4,2      ## @PGRES_POLLING_READING
	.comm	_PGRES_POLLING_FAILED,4,2       ## @PGRES_POLLING_FAILED
	.comm	_PGRES_POLLING_OK,4,2           ## @PGRES_POLLING_OK
	.no_dead_strip	_gss_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gss_read
_gss_read:                              ; @gss_read
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_pqsecure_raw_read
	str	x0, [x19]
	tbnz	x0, #63, LBB0_3
; %bb.1:
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _PGRES_POLLING_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PGRES_POLLING_OK@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _EWOULDBLOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EWOULDBLOCK@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _PGRES_POLLING_FAILED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PGRES_POLLING_FAILED@GOTPAGEOFF]
Lloh10:
	adrp	x11, _PGRES_POLLING_READING@GOTPAGE
Lloh11:
	ldr	x11, [x11, _PGRES_POLLING_READING@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	b	LBB0_9
LBB0_4:
	mov	x0, x22
	bl	_pqReadReady
	tbnz	w0, #31, LBB0_7
; %bb.5:
	cbz	w0, LBB0_8
; %bb.6:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_pqsecure_raw_read
	str	x0, [x19]
	cbnz	x0, LBB0_2
LBB0_7:
Lloh12:
	adrp	x8, _PGRES_POLLING_FAILED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PGRES_POLLING_FAILED@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh14:
	adrp	x8, _PGRES_POLLING_READING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PGRES_POLLING_READING@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.comm	_PGRES_POLLING_READING,4,2      ; @PGRES_POLLING_READING
	.comm	_PGRES_POLLING_FAILED,4,2       ; @PGRES_POLLING_FAILED
	.comm	_PGRES_POLLING_OK,4,2           ; @PGRES_POLLING_OK
	.no_dead_strip	_gss_read
.subsections_via_symbols
