	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svcauth_gss_register_pseudoflavor ## -- Begin function svcauth_gss_register_pseudoflavor
	.p2align	4, 0x90
_svcauth_gss_register_pseudoflavor:     ## @svcauth_gss_register_pseudoflavor
	.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, %r15
	movl	%edi, %r12d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	callq	_kref_init
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_kstrdup
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_svcauthops_gss@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movl	%r12d, 24(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_auth_domain_lookup
	cmpq	%rbx, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	callq	_auth_domain_put
	movq	(%rbx), %rdi
	callq	_kfree
	xorl	%r14d, %r14d
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_6
LBB0_3:
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_svcauthops_gss,4,2             ## @svcauthops_gss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svcauth_gss_register_pseudoflavor ; -- Begin function svcauth_gss_register_pseudoflavor
	.p2align	2
_svcauth_gss_register_pseudoflavor:     ; @svcauth_gss_register_pseudoflavor
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #32
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x0, x0, #16
	bl	_kref_init
	ldr	w1, [x23]
	mov	x0, x21
	bl	_kstrdup
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _svcauthops_gss@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svcauthops_gss@GOTPAGEOFF]
	str	x8, [x19, #8]
	str	w22, [x19, #24]
	mov	x0, x21
	mov	x1, x19
	bl	_auth_domain_lookup
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.3:
	bl	_auth_domain_put
	ldr	x0, [x19]
	bl	_kfree
	mov	w20, #0
LBB0_4:
	mov	x0, x19
	bl	_kfree
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_svcauthops_gss,4,2             ; @svcauthops_gss
.subsections_via_symbols
