	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_duplicate_oid              ## -- Begin function gss_duplicate_oid
	.p2align	4, 0x90
_gss_duplicate_oid:                     ## @gss_duplicate_oid
	.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	$0, (%rdi)
	movq	_GSS_C_NO_OID@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdx)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %r13
	cmpq	%rsi, (%rax)
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movl	(%rbx), %eax
	movl	%eax, (%r12)
	movq	%r12, (%r14)
	jmp	LBB0_6
LBB0_4:
	movq	%r12, %rdi
	callq	_free
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %r13
LBB0_6:
	movq	(%r13), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_OID,8,3               ## @GSS_C_NO_OID
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_duplicate_oid              ; -- Begin function gss_duplicate_oid
	.p2align	2
_gss_duplicate_oid:                     ; @gss_duplicate_oid
	.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
	str	xzr, [x0]
Lloh0:
	adrp	x8, _GSS_C_NO_OID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NO_OID@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x2]
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #4
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x22, x0
	ldr	w0, [x20]
	bl	_malloc
	str	x0, [x22, #8]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x1, [x20, #8]
	ldr	w2, [x20]
	bl	_memcpy
	ldr	w8, [x20]
	str	w8, [x22]
	str	x22, [x19]
LBB0_4:
Lloh2:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	x0, x22
	bl	_free
LBB0_6:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh7:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_7:
	ldr	x0, [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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_OID,8,3               ; @GSS_C_NO_OID
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
.subsections_via_symbols
