	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_cm_update_pg
_cnic_cm_update_pg:                     ## @cnic_cm_update_pg
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	24(%rdi), %r14
	leaq	20(%rdi), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$44, %edx
	callq	_memset
	movq	%r15, -40(%rbp)
	movq	_L4_KWQE_OPCODE_VALUE_UPDATE_PG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_L4_LAYER_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_L4_KWQ_UPDATE_PG_LAYER_CODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, 20(%rbx)
	movl	16(%rbx), %eax
	movl	%eax, 56(%rbx)
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	movl	%ecx, 52(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 48(%rbx)
	movl	8(%rax), %ecx
	movl	%ecx, 44(%rbx)
	movl	12(%rax), %ecx
	movl	%ecx, 40(%rbx)
	movl	16(%rax), %ecx
	movl	%ecx, 36(%rbx)
	movl	20(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	(%rbx), %eax
	movl	%eax, 28(%rbx)
	movq	_L4_KWQ_UPDATE_PG_VALIDS_DA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	*(%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_L4_KWQE_OPCODE_VALUE_UPDATE_PG,4,2 ## @L4_KWQE_OPCODE_VALUE_UPDATE_PG
	.comm	_L4_LAYER_CODE,4,2              ## @L4_LAYER_CODE
	.comm	_L4_KWQ_UPDATE_PG_LAYER_CODE_SHIFT,4,2 ## @L4_KWQ_UPDATE_PG_LAYER_CODE_SHIFT
	.comm	_L4_KWQ_UPDATE_PG_VALIDS_DA,4,2 ## @L4_KWQ_UPDATE_PG_VALIDS_DA
	.no_dead_strip	_cnic_cm_update_pg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_cm_update_pg
_cnic_cm_update_pg:                     ; @cnic_cm_update_pg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x20, [x0, #24]
	add	x21, x0, #20
	mov	x0, x21
	mov	w1, #0
	mov	w2, #44
	bl	_memset
	str	x21, [sp]
Lloh3:
	adrp	x8, _L4_LAYER_CODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _L4_LAYER_CODE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _L4_KWQ_UPDATE_PG_LAYER_CODE_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _L4_KWQ_UPDATE_PG_LAYER_CODE_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh9:
	adrp	x9, _L4_KWQE_OPCODE_VALUE_UPDATE_PG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _L4_KWQE_OPCODE_VALUE_UPDATE_PG@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w8, [x19, #20]
	ldr	w8, [x19, #16]
	stp	w8, w9, [x19, #56]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	str	w9, [x19, #52]
	ldr	w9, [x8, #4]
	str	w9, [x19, #48]
	ldr	w9, [x8, #8]
	str	w9, [x19, #44]
	ldr	w9, [x8, #12]
	str	w9, [x19, #40]
	ldr	w9, [x8, #16]
	str	w9, [x19, #36]
	ldr	w8, [x8, #20]
	str	w8, [x19, #32]
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _L4_KWQ_UPDATE_PG_VALIDS_DA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _L4_KWQ_UPDATE_PG_VALIDS_DA@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	ldr	x8, [x20]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #1
	blr	x8
	ldr	x8, [sp, #8]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_L4_KWQE_OPCODE_VALUE_UPDATE_PG,4,2 ; @L4_KWQE_OPCODE_VALUE_UPDATE_PG
	.comm	_L4_LAYER_CODE,4,2              ; @L4_LAYER_CODE
	.comm	_L4_KWQ_UPDATE_PG_LAYER_CODE_SHIFT,4,2 ; @L4_KWQ_UPDATE_PG_LAYER_CODE_SHIFT
	.comm	_L4_KWQ_UPDATE_PG_VALIDS_DA,4,2 ; @L4_KWQ_UPDATE_PG_VALIDS_DA
	.no_dead_strip	_cnic_cm_update_pg
.subsections_via_symbols
