	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csr1212_new_descriptor_leaf
_csr1212_new_descriptor_leaf:           ## @csr1212_new_descriptor_leaf
	.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	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r12d
	movl	%edi, %r13d
	movq	_CSR1212_KV_ID_DESCRIPTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CSR1212_DESCRIPTOR_LEAF_OVERHEAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rcx, %rdx
	xorl	%esi, %esi
	callq	_csr1212_new_leaf
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_kmemcheck_annotate_variable
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_CSR1212_DESCRIPTOR_LEAF_SET_TYPE
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_CSR1212_DESCRIPTOR_LEAF_SET_SPECIFIER_ID
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_CSR1212_DESCRIPTOR_LEAF_DATA
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_memcpy
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR1212_KV_ID_DESCRIPTOR,4,2   ## @CSR1212_KV_ID_DESCRIPTOR
	.comm	_CSR1212_DESCRIPTOR_LEAF_OVERHEAD,8,3 ## @CSR1212_DESCRIPTOR_LEAF_OVERHEAD
	.no_dead_strip	_csr1212_new_descriptor_leaf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csr1212_new_descriptor_leaf
_csr1212_new_descriptor_leaf:           ; @csr1212_new_descriptor_leaf
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _CSR1212_KV_ID_DESCRIPTOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSR1212_KV_ID_DESCRIPTOR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _CSR1212_DESCRIPTOR_LEAF_OVERHEAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSR1212_DESCRIPTOR_LEAF_OVERHEAD@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x2, x8, x3
	mov	x1, #0
	bl	_csr1212_new_leaf
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_kmemcheck_annotate_variable
	mov	x0, x21
	mov	x1, x23
	bl	_CSR1212_DESCRIPTOR_LEAF_SET_TYPE
	mov	x0, x21
	mov	x1, x22
	bl	_CSR1212_DESCRIPTOR_LEAF_SET_SPECIFIER_ID
	cbz	x20, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_CSR1212_DESCRIPTOR_LEAF_DATA
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
LBB0_3:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR1212_KV_ID_DESCRIPTOR,4,2   ; @CSR1212_KV_ID_DESCRIPTOR
	.comm	_CSR1212_DESCRIPTOR_LEAF_OVERHEAD,8,3 ; @CSR1212_DESCRIPTOR_LEAF_OVERHEAD
	.no_dead_strip	_csr1212_new_descriptor_leaf
.subsections_via_symbols
