	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gss_create_upcall
_gss_create_upcall:                     ## @gss_create_upcall
	.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, %rbx
	movq	%rdi, %r15
	movq	_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEFINE_WAIT
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	(%r15), %edi
	movq	%r15, %rsi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	callq	_gss_setup_upcall
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PTR_ERR
	movq	_EAGAIN@GOTPCREL(%rip), %r13
	addl	(%r13), %eax
	jne	LBB0_6
## %bb.1:
	movq	_pipe_version@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_gss_setup_upcall
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PTR_ERR
	addl	(%r13), %eax
	jne	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_pipe_version_waitqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	shrq	$63, %rsi
	xorl	$1, %esi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rax,%rax,2), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_wait_event_interruptible_timeout
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r14)
	jns	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_warn_gssd
	jmp	LBB0_2
LBB0_6:
	movq	%r12, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_PTR_ERR
LBB0_12:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_8:
	movq	16(%r12), %r15
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_wait@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_prepare_to_wait
	movq	%r15, %rdi
	callq	_spin_lock
	movq	8(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_gss_cred_set_ctx
	xorl	%ebx, %ebx
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_11:
	movq	_wait@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_finish_wait
	movq	%r12, %rdi
	callq	_gss_release_msg
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dprintk
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_wait@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %ebx
	testl	%ebx, %ebx
	js	LBB0_10
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
	callq	_signalled
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%eax, %eax
	callq	_schedule
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_prepare_to_wait
	movq	%r15, %rdi
	callq	_spin_lock
	movq	8(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
	jmp	LBB0_9
LBB0_18:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       gss_upcall for uid %u\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_pipe_version_waitqueue,4,2     ## @pipe_version_waitqueue
	.comm	_pipe_version,8,3               ## @pipe_version
	.comm	_HZ,4,2                         ## @HZ
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
L_.str.1:                               ## @.str.1
	.asciz	"RPC:       gss_create_upcall for uid %u result %d\n"

	.no_dead_strip	_gss_create_upcall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gss_create_upcall
_gss_create_upcall:                     ; @gss_create_upcall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _wait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wait@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DEFINE_WAIT
	ldr	w1, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	w0, [x21]
	mov	x1, x21
	mov	x2, x19
	bl	_gss_setup_upcall
	mov	x20, x0
	bl	_PTR_ERR
Lloh5:
	adrp	x23, _EAGAIN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EAGAIN@GOTPAGEOFF]
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_6
; %bb.1:
Lloh7:
	adrp	x24, _pipe_version_waitqueue@GOTPAGE
Lloh8:
	ldr	x24, [x24, _pipe_version_waitqueue@GOTPAGEOFF]
Lloh9:
	adrp	x25, _pipe_version@GOTPAGE
Lloh10:
	ldr	x25, [x25, _pipe_version@GOTPAGEOFF]
Lloh11:
	adrp	x26, _HZ@GOTPAGE
Lloh12:
	ldr	x26, [x26, _HZ@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	mov	x1, x21
	mov	x2, x19
	bl	_gss_setup_upcall
	mov	x20, x0
	bl	_PTR_ERR
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldr	x8, [x25]
	lsr	x8, x8, #63
	eor	w1, w8, #0x1
	ldr	w8, [x26]
	lsl	w9, w8, #4
	sub	w2, w9, w8
	bl	_wait_event_interruptible_timeout
	cbnz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	tbz	x8, #63, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_warn_gssd
	b	LBB0_2
LBB0_6:
	mov	x0, x20
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_PTR_ERR
LBB0_8:
	mov	x22, x0
	b	LBB0_13
LBB0_9:
	ldr	x21, [x20, #16]
Lloh13:
	adrp	x24, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh14:
	ldr	x24, [x24, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh15:
	adrp	x1, _wait@GOTPAGE
Lloh16:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	mov	x0, x20
	bl	_prepare_to_wait
	mov	x0, x21
	bl	_spin_lock
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_14
LBB0_10:
	mov	x0, x19
	bl	_gss_cred_set_ctx
	mov	w22, #0
LBB0_11:
	mov	x0, x21
	bl	_spin_unlock
LBB0_12:
Lloh17:
	adrp	x1, _wait@GOTPAGE
Lloh18:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	mov	x0, x20
	bl	_finish_wait
	mov	x0, x20
	bl	_gss_release_msg
LBB0_13:
	ldr	w1, [x19]
	str	x22, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
LBB0_14:
Lloh21:
	adrp	x23, _wait@GOTPAGE
Lloh22:
	ldr	x23, [x23, _wait@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x20, #4]
	tbnz	w22, #31, LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
	bl	_spin_unlock
	bl	_signalled
	cbnz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_schedule
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x23
	bl	_prepare_to_wait
	mov	x0, x21
	bl	_spin_lock
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_15
	b	LBB0_10
LBB0_18:
Lloh23:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_12
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       gss_upcall for uid %u\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_pipe_version_waitqueue,4,2     ; @pipe_version_waitqueue
	.comm	_pipe_version,8,3               ; @pipe_version
	.comm	_HZ,4,2                         ; @HZ
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
l_.str.1:                               ; @.str.1
	.asciz	"RPC:       gss_create_upcall for uid %u result %d\n"

	.no_dead_strip	_gss_create_upcall
.subsections_via_symbols
