	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gss_wrap_req_priv
_gss_wrap_req_priv:                     ## @gss_wrap_req_priv
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	1(%r8), %r14
	movq	(%rcx), %rdi
	movq	48(%rcx), %rax
	subq	(%rax), %r14
	callq	_htonl
	leaq	2(%r15), %rsi
	movb	%al, 1(%r15)
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	*%r13
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movq	%r12, %rdi
	callq	_alloc_enc_pages
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.2:
	leaq	24(%r12), %rdx
	sarq	$2, %r14
	movl	24(%r12), %edi
	movq	_PAGE_CACHE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edi, %eax
	sarl	%cl, %eax
	movslq	%eax, %rsi
	leaq	(,%rsi,8), %r13
	movq	16(%r12), %rax
	addq	72(%r12), %r13
	movq	%rax, 72(%r12)
	shll	%cl, %esi
	subl	%esi, %edi
	movl	%edi, 24(%r12)
	cmpq	$0, 64(%r12)
	jne	LBB0_4
## %bb.3:
	movq	56(%r12), %rcx
	cmpl	$0, 8(%rcx)
	je	LBB0_5
LBB0_4:
	movslq	8(%r12), %rcx
	movq	-8(%rax,%rcx,8), %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_page_address
	movq	%rax, %rbx
	movq	56(%r12), %rax
	movq	(%rax), %rsi
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	56(%r12), %rax
	movq	%rbx, (%rax)
LBB0_5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r14, %rsi
	movq	%r13, %rcx
	callq	_gss_wrap
	movq	%rax, %rbx
	movq	32(%r12), %rax
	xorl	%edi, %edi
	cmpq	40(%r12), %rax
	setg	%dil
	callq	_BUG_ON
	movq	_GSS_S_CONTEXT_EXPIRED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_10
## %bb.6:
	movq	_RPCAUTH_CRED_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	jmp	LBB0_7
LBB0_10:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.11:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_7:
	movq	32(%r12), %rdi
	subq	%r14, %rdi
	callq	_htonl
	movb	%al, (%r15)
	cmpq	$0, 64(%r12)
	jne	LBB0_12
## %bb.8:
	movq	56(%r12), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_9
LBB0_12:
	leaq	56(%r12), %rax
LBB0_13:
	movq	(%rax), %r15
	movslq	8(%r15), %rdi
	addq	(%r15), %rdi
	notl	%r14d
	addl	32(%r12), %r14d
	notl	%r14d
	andl	$3, %r14d
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	addl	%r14d, 8(%r15)
	addq	%r14, 32(%r12)
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	48(%r12), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_CACHE_SHIFT,4,2           ## @PAGE_CACHE_SHIFT
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ## @GSS_S_CONTEXT_EXPIRED
	.comm	_RPCAUTH_CRED_UPTODATE,4,2      ## @RPCAUTH_CRED_UPTODATE
	.no_dead_strip	_gss_wrap_req_priv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gss_wrap_req_priv
_gss_wrap_req_priv:                     ; @gss_wrap_req_priv
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x5
	mov	x20, x4
	mov	x19, x3
	mov	x25, x2
	mov	x24, x1
	mov	x22, x0
	mov	x23, x3
	ldr	x0, [x23], #24
	mov	x27, x3
	ldr	x8, [x27, #48]!
	ldr	x26, [x8]
	bl	_htonl
	mov	x28, x20
	strb	w0, [x28, #1]!
	add	x1, x28, #1
	mov	x0, x19
	mov	x2, x21
	blr	x25
	cbnz	w0, LBB0_13
; %bb.1:
	mov	x0, x19
	bl	_alloc_enc_pages
	cbnz	w0, LBB0_13
; %bb.2:
	sub	x8, x28, x26
	asr	x21, x8, #2
	ldr	w9, [x19, #24]
Lloh0:
	adrp	x8, _PAGE_CACHE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_CACHE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	asr	w11, w9, w10
	ldp	x12, x8, [x19, #64]
	add	x25, x8, w11, sxtw #3
	ldr	x8, [x19, #16]
	str	x8, [x19, #72]
	lsl	w10, w11, w10
	sub	w9, w9, w10
	str	w9, [x19, #24]
	cbnz	x12, LBB0_4
; %bb.3:
	ldr	x9, [x19, #56]
	ldr	w9, [x9, #8]
	cbz	w9, LBB0_5
LBB0_4:
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9, lsl #3
	ldur	x0, [x8, #-8]
	bl	_page_address
	mov	x26, x0
	ldr	x8, [x19, #56]
	ldr	x1, [x8]
	ldr	w2, [x8, #8]
	bl	_memcpy
	ldr	x8, [x19, #56]
	str	x26, [x8]
LBB0_5:
	ldr	w0, [x24]
	mov	x1, x21
	mov	x2, x23
	mov	x3, x25
	bl	_gss_wrap
	mov	x23, x0
	ldp	x8, x9, [x19, #32]
	cmp	x8, x9
	cset	w0, gt
	bl	_BUG_ON
Lloh3:
	adrp	x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _RPCAUTH_CRED_UPTODATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RPCAUTH_CRED_UPTODATE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_clear_bit
	b	LBB0_9
LBB0_7:
	cbz	x23, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_9:
	ldr	x8, [x19, #32]
	sub	x0, x8, x21
	bl	_htonl
	strb	w0, [x20]
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x19, #56]
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_12
LBB0_11:
	add	x27, x19, #56
LBB0_12:
	ldr	x22, [x27]
	ldr	x8, [x22]
	ldrsw	x9, [x22, #8]
	add	x0, x8, x9
	ldr	w8, [x19, #32]
	mvn	w9, w21
	add	w8, w8, w9
	mvn	w8, w8
	and	w20, w8, #0x3
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	mov	w0, #0
	ldr	w8, [x22, #8]
	add	w8, w20, w8
	str	w8, [x22, #8]
	ldr	x8, [x19, #32]
	add	x8, x8, x20
	str	x8, [x19, #32]
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_CACHE_SHIFT,4,2           ; @PAGE_CACHE_SHIFT
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ; @GSS_S_CONTEXT_EXPIRED
	.comm	_RPCAUTH_CRED_UPTODATE,4,2      ; @RPCAUTH_CRED_UPTODATE
	.no_dead_strip	_gss_wrap_req_priv
.subsections_via_symbols
