	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_cm_process_offld_pg
_cnic_cm_process_offld_pg:              ## @cnic_cm_process_offld_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	%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), %rax
	movq	(%rsi), %r12
	movq	8(%rsi), %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	leaq	(,%r12,8), %r15
	addq	%r13, %r15
	movq	%r15, %rdi
	callq	_csk_hold
	movq	%r15, %rdi
	callq	_cnic_in_use
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_L4_KCQE_OPCODE_VALUE_UPDATE_PG@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_3
## %bb.2:
	movq	_SK_F_OFFLD_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	jmp	LBB0_6
LBB0_3:
	movq	16(%rbx), %rax
	movq	_L4_KCQE_COMPLETION_STATUS_CTX_ALLOC_FAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_SK_F_OFFLD_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	_L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_cnic_cm_upcall
	jmp	LBB0_6
LBB0_5:
	movl	24(%rbx), %eax
	movl	%eax, 4(%r13,%r12,8)
	movq	_SK_F_PG_OFFLD_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_cnic_cm_conn_req
LBB0_6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_csk_put                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_L4_KCQE_OPCODE_VALUE_UPDATE_PG,8,3 ## @L4_KCQE_OPCODE_VALUE_UPDATE_PG
	.comm	_SK_F_OFFLD_SCHED,4,2           ## @SK_F_OFFLD_SCHED
	.comm	_L4_KCQE_COMPLETION_STATUS_CTX_ALLOC_FAIL,8,3 ## @L4_KCQE_COMPLETION_STATUS_CTX_ALLOC_FAIL
	.comm	_L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE,4,2 ## @L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE
	.comm	_SK_F_PG_OFFLD_COMPLETE,4,2     ## @SK_F_PG_OFFLD_COMPLETE
	.no_dead_strip	_cnic_cm_process_offld_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_process_offld_pg
_cnic_cm_process_offld_pg:              ; @cnic_cm_process_offld_pg
	.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
	ldr	x20, [x0]
	ldp	x22, x24, [x1]
	ldr	x23, [x20]
	add	x19, x23, x22, lsl #3
	mov	x0, x19
	bl	_csk_hold
	mov	x0, x19
	bl	_cnic_in_use
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _L4_KCQE_OPCODE_VALUE_UPDATE_PG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _L4_KCQE_OPCODE_VALUE_UPDATE_PG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _SK_F_OFFLD_SCHED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SK_F_OFFLD_SCHED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	b	LBB0_6
LBB0_3:
	ldr	x8, [x21, #16]
Lloh6:
	adrp	x9, _L4_KCQE_COMPLETION_STATUS_CTX_ALLOC_FAIL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _L4_KCQE_COMPLETION_STATUS_CTX_ALLOC_FAIL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _SK_F_OFFLD_SCHED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SK_F_OFFLD_SCHED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
Lloh12:
	adrp	x8, _L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_cnic_cm_upcall
	b	LBB0_6
LBB0_5:
	ldr	w8, [x21, #24]
	add	x9, x23, x22, lsl #3
	str	w8, [x9, #4]
Lloh15:
	adrp	x8, _SK_F_PG_OFFLD_COMPLETE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SK_F_PG_OFFLD_COMPLETE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	x0, x19
	bl	_cnic_cm_conn_req
LBB0_6:
	mov	x0, x19
	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
	b	_csk_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_L4_KCQE_OPCODE_VALUE_UPDATE_PG,8,3 ; @L4_KCQE_OPCODE_VALUE_UPDATE_PG
	.comm	_SK_F_OFFLD_SCHED,4,2           ; @SK_F_OFFLD_SCHED
	.comm	_L4_KCQE_COMPLETION_STATUS_CTX_ALLOC_FAIL,8,3 ; @L4_KCQE_COMPLETION_STATUS_CTX_ALLOC_FAIL
	.comm	_L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE,4,2 ; @L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE
	.comm	_SK_F_PG_OFFLD_COMPLETE,4,2     ; @SK_F_PG_OFFLD_COMPLETE
	.no_dead_strip	_cnic_cm_process_offld_pg
.subsections_via_symbols
