	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function secure_open_gssapi
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_secure_open_gssapi
	.p2align	4, 0x90
_secure_open_gssapi:                    ## @secure_open_gssapi
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_PqGSSResultLength@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_PqGSSResultPointer@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_PqGSSRecvLength@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	_PqGSSSendStart@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	movq	_PqGSSSendPointer@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_pg_krb_server_keyfile@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_setenv
LBB0_3:
	movq	_GSS_C_EMPTY_BUFFER@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_read_or_wait
	testq	%rax, %rax
	js	LBB0_23
## %bb.4:
	movq	_PqGSSSendBuffer@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	_PqGSSRecvBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_ntohl
	movl	%eax, -96(%rbp)
	movl	$0, (%r13)
	movq	_PQ_GSS_RECV_BUFFER_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movslq	%eax, %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	-96(%rbp), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_read_or_wait
	testq	%rax, %rax
	js	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_PqGSSRecvBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	(%rbx), %r9
	leaq	4(%r9), %rsi
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GSS_C_NO_CHANNEL_BINDINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	addq	$8, %r9
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	leaq	-64(%rbp), %rax
	movq	%rax, 8(%rsp)
	movq	$0, 32(%rsp)
	movq	$0, (%rsp)
	leaq	-44(%rbp), %rdi
	leaq	-96(%rbp), %rcx
	callq	_gss_accept_sec_context
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_GSS_ERROR
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_GSS_S_CONTINUE_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$0, (%r13)
	movslq	-64(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_htonl
	movl	%eax, -76(%rbp)
	movq	_PQ_GSS_SEND_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	addq	$-4, %rdx
	cmpq	%r13, %rdx
	jae	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_errmsg
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %edi
	leaq	-76(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_PqGSSSendPointer@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	addl	$4, %edi
	movl	%edi, (%r13)
	addl	(%r15), %edi
	movq	-56(%rbp), %rsi
	movl	-64(%rbp), %edx
	callq	_memcpy
	movslq	-64(%rbp), %rdx
	addl	%edx, (%r13)
	movslq	(%r12), %rax
	addq	$4, %rdx
	cmpq	%rax, %rdx
	movq	_MyLatch@GOTPCREL(%rip), %r13
	jne	LBB0_14
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_PqGSSSendPointer@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$0, (%r12)
	leaq	-44(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_gss_release_buffer
	movl	-72(%rbp), %eax                 ## 4-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r14d, %eax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_GSS_C_EMPTY_BUFFER@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_read_or_wait
	testq	%rax, %rax
	movq	_PqGSSRecvLength@GOTPCREL(%rip), %r13
	jns	LBB0_5
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	(%r13), %edi
	movq	_WL_EXIT_ON_PM_DEATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL_SOCKET_WRITEABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	_WAIT_EVENT_GSS_OPEN_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ecx, %ecx
	callq	_WaitLatchOrSocket
	movl	(%r12), %eax
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	movslq	%eax, %rcx
	movslq	-64(%rbp), %rdx
	addq	$4, %rdx
	cmpq	%rcx, %rdx
	je	LBB0_17
LBB0_14:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %esi
	addl	%eax, %esi
	subl	%eax, %edx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_secure_raw_write
	testq	%rax, %rax
	jle	LBB0_15
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=2
	addl	(%r12), %eax
	movl	%eax, (%r12)
	jmp	LBB0_16
LBB0_9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext_noop
	movl	-44(%rbp), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_pg_GSS_error
	leaq	-44(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_gss_release_buffer
	movq	$-1, %rax
	jmp	LBB0_23
LBB0_20:
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movq	_GSS_C_QOP_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PQ_GSS_SEND_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	addl	$-4, %r8d
	movq	_max_packet_size@GOTPCREL(%rip), %r9
	leaq	-44(%rbp), %rdi
	movl	$1, %edx
	callq	_gss_wrap_size_limit
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_GSS_ERROR
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.4(%rip), %rdi
	callq	_gettext_noop
	movl	-44(%rbp), %ecx
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_pg_GSS_error
LBB0_22:
	movq	(%rbx), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
LBB0_23:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PqGSSResultLength,4,2          ## @PqGSSResultLength
	.comm	_PqGSSResultPointer,4,2         ## @PqGSSResultPointer
	.comm	_PqGSSRecvLength,4,2            ## @PqGSSRecvLength
	.comm	_PqGSSSendStart,4,2             ## @PqGSSSendStart
	.comm	_PqGSSSendPointer,4,2           ## @PqGSSSendPointer
	.comm	_pg_krb_server_keyfile,8,3      ## @pg_krb_server_keyfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KRB5_KTNAME"

	.comm	_GSS_C_EMPTY_BUFFER,16,3        ## @GSS_C_EMPTY_BUFFER
	.comm	_PqGSSRecvBuffer,8,3            ## @PqGSSRecvBuffer
	.comm	_PQ_GSS_RECV_BUFFER_SIZE,4,2    ## @PQ_GSS_RECV_BUFFER_SIZE
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.1:                               ## @.str.1
	.asciz	"oversize GSSAPI packet sent by the client (%zu > %d)"

	.comm	_GSS_C_NO_CREDENTIAL,4,2        ## @GSS_C_NO_CREDENTIAL
	.comm	_GSS_C_NO_CHANNEL_BINDINGS,4,2  ## @GSS_C_NO_CHANNEL_BINDINGS
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"could not accept GSSAPI security context"

	.comm	_GSS_S_CONTINUE_NEEDED,4,2      ## @GSS_S_CONTINUE_NEEDED
	.comm	_PQ_GSS_SEND_BUFFER_SIZE,4,2    ## @PQ_GSS_SEND_BUFFER_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"server tried to send oversize GSSAPI packet (%zu > %zu)"

	.comm	_PqGSSSendBuffer,4,2            ## @PqGSSSendBuffer
	.comm	_MyLatch,4,2                    ## @MyLatch
	.comm	_WL_SOCKET_WRITEABLE,4,2        ## @WL_SOCKET_WRITEABLE
	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ## @WL_EXIT_ON_PM_DEATH
	.comm	_WAIT_EVENT_GSS_OPEN_SERVER,4,2 ## @WAIT_EVENT_GSS_OPEN_SERVER
	.comm	_GSS_C_QOP_DEFAULT,4,2          ## @GSS_C_QOP_DEFAULT
	.comm	_max_packet_size,4,2            ## @max_packet_size
L_.str.4:                               ## @.str.4
	.asciz	"GSSAPI size check error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_secure_open_gssapi             ; -- Begin function secure_open_gssapi
	.p2align	2
_secure_open_gssapi:                    ; @secure_open_gssapi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x0
Lloh0:
	adrp	x8, _PqGSSResultLength@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PqGSSResultLength@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
Lloh3:
	adrp	x8, _PqGSSResultPointer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PqGSSResultPointer@GOTPAGEOFF]
Lloh5:
	str	wzr, [x8]
Lloh6:
	adrp	x24, _PqGSSRecvLength@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PqGSSRecvLength@GOTPAGEOFF]
	str	wzr, [x24]
Lloh8:
	adrp	x26, _PqGSSSendStart@GOTPAGE
Lloh9:
	ldr	x26, [x26, _PqGSSSendStart@GOTPAGEOFF]
	str	wzr, [x26]
Lloh10:
	adrp	x25, _PqGSSSendPointer@GOTPAGE
Lloh11:
	ldr	x25, [x25, _PqGSSSendPointer@GOTPAGEOFF]
	str	wzr, [x25]
Lloh12:
	adrp	x8, _pg_krb_server_keyfile@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pg_krb_server_keyfile@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x8]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.2:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	w2, #1
	bl	_setenv
LBB0_3:
Lloh17:
	adrp	x20, _GSS_C_EMPTY_BUFFER@GOTPAGE
Lloh18:
	ldr	x20, [x20, _GSS_C_EMPTY_BUFFER@GOTPAGEOFF]
	ldr	q0, [x20]
	str	q0, [sp, #32]
	mov	x0, x19
	mov	w1, #4
	bl	_read_or_wait
	tbnz	x0, #63, LBB0_24
; %bb.4:
Lloh19:
	adrp	x27, _PqGSSRecvBuffer@GOTPAGE
Lloh20:
	ldr	x27, [x27, _PqGSSRecvBuffer@GOTPAGEOFF]
Lloh21:
	adrp	x21, _PQ_GSS_RECV_BUFFER_SIZE@GOTPAGE
Lloh22:
	ldr	x21, [x21, _PQ_GSS_RECV_BUFFER_SIZE@GOTPAGEOFF]
Lloh23:
	adrp	x28, _PqGSSSendBuffer@GOTPAGE
Lloh24:
	ldr	x28, [x28, _PqGSSSendBuffer@GOTPAGEOFF]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x8, [x27]
	ldr	w0, [x8]
	bl	_ntohl
	mov	x1, x0
	str	w0, [sp, #56]
	str	wzr, [x24]
	ldr	w2, [x21]
	cmp	w0, w2
	b.le	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh25:
	adrp	x8, _FATAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
	sxtw	x1, w1
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	ldr	w1, [sp, #56]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_read_or_wait
	tbnz	x0, #63, LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	str	x8, [sp, #64]
	ldr	x8, [x19]
	add	x1, x8, #4
Lloh30:
	adrp	x9, _GSS_C_NO_CREDENTIAL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x9]
Lloh33:
	adrp	x9, _GSS_C_NO_CHANNEL_BINDINGS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _GSS_C_NO_CHANNEL_BINDINGS@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x9]
	add	x5, x8, #8
	stp	xzr, xzr, [sp]
	add	x0, sp, #76
	add	x3, sp, #56
	add	x7, sp, #32
	str	xzr, [sp, #16]
	mov	x6, #0
	bl	_gss_accept_sec_context
	mov	x22, x0
	bl	_GSS_ERROR
	cbnz	x0, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh36:
	adrp	x8, _GSS_S_CONTINUE_NEEDED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GSS_S_CONTINUE_NEEDED@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	wzr, [x24]
	ldrsw	x23, [sp, #32]
	cbz	w23, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x23
	bl	_htonl
	str	w0, [sp, #28]
Lloh39:
	adrp	x8, _PQ_GSS_SEND_BUFFER_SIZE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PQ_GSS_SEND_BUFFER_SIZE@GOTPAGEOFF]
Lloh41:
	ldrsw	x8, [x8]
	sub	x2, x8, #4
	cmp	x2, x23
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x27
	mov	x27, x20
	mov	x20, x25
	mov	x25, x24
Lloh42:
	adrp	x8, _FATAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh44:
	ldr	w24, [x8]
Lloh45:
	adrp	x0, l_.str.3@PAGE
Lloh46:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	mov	x24, x25
	mov	x25, x20
	mov	x20, x27
	mov	x27, x21
Lloh47:
	adrp	x21, _PQ_GSS_RECV_BUFFER_SIZE@GOTPAGE
Lloh48:
	ldr	x21, [x21, _PQ_GSS_RECV_BUFFER_SIZE@GOTPAGEOFF]
	bl	_ereport
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28]
	add	x1, sp, #28
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x25]
	add	w8, w8, #4
	str	w8, [x25]
	ldr	w9, [x28]
	add	w0, w9, w8
	ldr	x1, [sp, #40]
	ldr	w2, [sp, #32]
	bl	_memcpy
	ldrsw	x9, [sp, #32]
	ldr	w8, [x25]
	add	w8, w8, w9
	str	w8, [x25]
	ldrsw	x8, [x26]
	add	x9, x9, #4
	cmp	x9, x8
Lloh49:
	adrp	x23, _MyLatch@GOTPAGE
Lloh50:
	ldr	x23, [x23, _MyLatch@GOTPAGEOFF]
	b.ne	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [x25]
	str	wzr, [x26]
	add	x0, sp, #76
	add	x1, sp, #32
	bl	_gss_release_buffer
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w8, w8, w22
	cbz	w8, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	q0, [x20]
	str	q0, [sp, #32]
	mov	x0, x19
	mov	w1, #4
	bl	_read_or_wait
	tbz	x0, #63, LBB0_5
	b	LBB0_24
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=2
	ldr	w0, [x23]
Lloh51:
	adrp	x8, _WL_SOCKET_WRITEABLE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _WL_SOCKET_WRITEABLE@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _WL_EXIT_ON_PM_DEATH@GOTPAGE
Lloh55:
	ldr	x9, [x9, _WL_EXIT_ON_PM_DEATH@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w2, [x19, #8]
Lloh57:
	adrp	x8, _WAIT_EVENT_GSS_OPEN_SERVER@GOTPAGE
Lloh58:
	ldr	x8, [x8, _WAIT_EVENT_GSS_OPEN_SERVER@GOTPAGEOFF]
Lloh59:
	ldr	w4, [x8]
	mov	w3, #0
	bl	_WaitLatchOrSocket
	ldr	w8, [x26]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	ldrsw	x9, [sp, #32]
	add	x9, x9, #4
	cmp	x9, w8, sxtw
	b.eq	LBB0_13
LBB0_18:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x28]
	add	w1, w10, w8
	sub	w2, w9, w8
	mov	x0, x19
	bl	_secure_raw_write
	cmp	x0, #0
	b.le	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	w8, [x26]
	add	w8, w8, w0
	str	w8, [x26]
	b	LBB0_17
LBB0_20:
Lloh60:
	adrp	x8, _ERROR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh62:
	ldr	w19, [x8]
Lloh63:
	adrp	x0, l_.str.2@PAGE
Lloh64:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext_noop
	mov	x1, x0
	ldr	w3, [sp, #76]
	mov	x0, x19
	mov	x2, x22
	bl	_pg_GSS_error
	add	x0, sp, #76
	add	x1, sp, #32
	bl	_gss_release_buffer
	mov	x0, #-1
	b	LBB0_24
LBB0_21:
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
Lloh65:
	adrp	x8, _GSS_C_QOP_DEFAULT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _GSS_C_QOP_DEFAULT@GOTPAGEOFF]
Lloh67:
	ldr	w3, [x8]
Lloh68:
	adrp	x8, _PQ_GSS_SEND_BUFFER_SIZE@GOTPAGE
Lloh69:
	ldr	x8, [x8, _PQ_GSS_SEND_BUFFER_SIZE@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	sub	w4, w8, #4
Lloh71:
	adrp	x5, _max_packet_size@GOTPAGE
Lloh72:
	ldr	x5, [x5, _max_packet_size@GOTPAGEOFF]
	mov	w22, #1
	add	x0, sp, #76
	mov	w2, #1
	bl	_gss_wrap_size_limit
	mov	x20, x0
	bl	_GSS_ERROR
	cbz	x0, LBB0_23
; %bb.22:
Lloh73:
	adrp	x8, _FATAL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh75:
	ldr	w21, [x8]
Lloh76:
	adrp	x0, l_.str.4@PAGE
Lloh77:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_gettext_noop
	mov	x1, x0
	ldr	w3, [sp, #76]
	mov	x0, x21
	mov	x2, x20
	bl	_pg_GSS_error
LBB0_23:
	mov	x0, #0
	ldr	x8, [x19]
	str	w22, [x8]
LBB0_24:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_PqGSSResultLength,4,2          ; @PqGSSResultLength
	.comm	_PqGSSResultPointer,4,2         ; @PqGSSResultPointer
	.comm	_PqGSSRecvLength,4,2            ; @PqGSSRecvLength
	.comm	_PqGSSSendStart,4,2             ; @PqGSSSendStart
	.comm	_PqGSSSendPointer,4,2           ; @PqGSSSendPointer
	.comm	_pg_krb_server_keyfile,8,3      ; @pg_krb_server_keyfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KRB5_KTNAME"

	.comm	_GSS_C_EMPTY_BUFFER,16,3        ; @GSS_C_EMPTY_BUFFER
	.comm	_PqGSSRecvBuffer,8,3            ; @PqGSSRecvBuffer
	.comm	_PQ_GSS_RECV_BUFFER_SIZE,4,2    ; @PQ_GSS_RECV_BUFFER_SIZE
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.1:                               ; @.str.1
	.asciz	"oversize GSSAPI packet sent by the client (%zu > %d)"

	.comm	_GSS_C_NO_CREDENTIAL,4,2        ; @GSS_C_NO_CREDENTIAL
	.comm	_GSS_C_NO_CHANNEL_BINDINGS,4,2  ; @GSS_C_NO_CHANNEL_BINDINGS
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"could not accept GSSAPI security context"

	.comm	_GSS_S_CONTINUE_NEEDED,4,2      ; @GSS_S_CONTINUE_NEEDED
	.comm	_PQ_GSS_SEND_BUFFER_SIZE,4,2    ; @PQ_GSS_SEND_BUFFER_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"server tried to send oversize GSSAPI packet (%zu > %zu)"

	.comm	_PqGSSSendBuffer,4,2            ; @PqGSSSendBuffer
	.comm	_MyLatch,4,2                    ; @MyLatch
	.comm	_WL_SOCKET_WRITEABLE,4,2        ; @WL_SOCKET_WRITEABLE
	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ; @WL_EXIT_ON_PM_DEATH
	.comm	_WAIT_EVENT_GSS_OPEN_SERVER,4,2 ; @WAIT_EVENT_GSS_OPEN_SERVER
	.comm	_GSS_C_QOP_DEFAULT,4,2          ; @GSS_C_QOP_DEFAULT
	.comm	_max_packet_size,4,2            ; @max_packet_size
l_.str.4:                               ; @.str.4
	.asciz	"GSSAPI size check error"

.subsections_via_symbols
