	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvu_mbox_handler_npc_get_kex_cfg ## -- Begin function rvu_mbox_handler_npc_get_kex_cfg
	.p2align	4, 0x90
_rvu_mbox_handler_npc_get_kex_cfg:      ## @rvu_mbox_handler_npc_get_kex_cfg
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_NIX_INTF_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_GET_KEX_CFG
	movq	%rax, 40(%rbx)
	movq	_NIX_INTF_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_GET_KEX_CFG
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 32(%rbx)
	movq	_NPC_MAX_LID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.1:
	movq	_NPC_MAX_LT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	movq	_NPC_MAX_LD@GOTPCREL(%rip), %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NPC_MAX_LID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	%ecx, %rdx
	cmpq	%rdx, %r14
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %ecx
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r13
	movslq	%eax, %rdx
	cmpq	%rdx, %r13
	jge	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	_NIX_INTF_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_GET_KEX_LD
	movq	24(%r12), %rcx
	movq	_NIX_INTF_RX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	_NIX_INTF_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_GET_KEX_LD
	movq	24(%r12), %rcx
	movq	_NIX_INTF_TX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_NPC_MAX_LT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_11:
	movq	_NPC_MAX_LD@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_21
## %bb.12:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_GET_KEX_FLAGS
	movq	16(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
## %bb.14:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.15:
	movq	_NPC_MAX_LFL@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	xorl	%r12d, %r12d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r12
	movslq	%eax, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_21
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_NIX_INTF_RX@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_GET_KEX_LDFLAGS
	movq	8(%r13), %rcx
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	_NIX_INTF_TX@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_GET_KEX_LDFLAGS
	movq	8(%r13), %rcx
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_NPC_MAX_LD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_21:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_MKEX_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIX_INTF_RX,8,3                ## @NIX_INTF_RX
	.comm	_NIX_INTF_TX,8,3                ## @NIX_INTF_TX
	.comm	_NPC_MAX_LID,4,2                ## @NPC_MAX_LID
	.comm	_NPC_MAX_LT,4,2                 ## @NPC_MAX_LT
	.comm	_NPC_MAX_LD,4,2                 ## @NPC_MAX_LD
	.comm	_NPC_MAX_LFL,4,2                ## @NPC_MAX_LFL
	.comm	_MKEX_NAME_LEN,4,2              ## @MKEX_NAME_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvu_mbox_handler_npc_get_kex_cfg ; -- Begin function rvu_mbox_handler_npc_get_kex_cfg
	.p2align	2
_rvu_mbox_handler_npc_get_kex_cfg:      ; @rvu_mbox_handler_npc_get_kex_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x24, _NIX_INTF_RX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NIX_INTF_RX@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_GET_KEX_CFG
	str	x0, [x20, #40]
Lloh2:
	adrp	x25, _NIX_INTF_TX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _NIX_INTF_TX@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_GET_KEX_CFG
	str	x0, [x20, #32]
Lloh4:
	adrp	x8, _NPC_MAX_LID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NPC_MAX_LID@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
Lloh7:
	adrp	x26, _NPC_MAX_LD@GOTPAGE
Lloh8:
	ldr	x26, [x26, _NPC_MAX_LD@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x21, #0
Lloh9:
	adrp	x8, _NPC_MAX_LT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NPC_MAX_LT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x9, _NPC_MAX_LID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NPC_MAX_LID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, w9, sxtw
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	ldr	w9, [x26]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x23, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x24]
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_GET_KEX_LD
	ldr	x8, [x20, #24]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	lsl	x19, x21, #3
	ldr	x8, [x8, x19]
	lsl	x27, x22, #3
	ldr	x8, [x8, x27]
	lsl	x28, x23, #3
	str	x0, [x8, x28]
	ldr	x0, [x25]
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_GET_KEX_LD
	ldr	x8, [x20, #24]
	ldr	x9, [x25]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, x19]
	ldr	x8, [x8, x27]
	str	x0, [x8, x28]
	add	x23, x23, #1
	ldrsw	x9, [x26]
	cmp	x23, x9
	b.lt	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
Lloh15:
	adrp	x8, _NPC_MAX_LT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NPC_MAX_LT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	b	LBB0_6
LBB0_11:
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.12:
	mov	x21, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_GET_KEX_FLAGS
	ldr	x8, [x20, #16]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x8, [x26]
	cmp	x21, x8
	b.lt	LBB0_13
; %bb.14:
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.15:
	mov	x21, #0
Lloh18:
	adrp	x23, _NPC_MAX_LFL@GOTPAGE
Lloh19:
	ldr	x23, [x23, _NPC_MAX_LFL@GOTPAGEOFF]
	ldr	w9, [x23]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_21
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x22, #0
LBB0_19:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x24]
	mov	x1, x21
	mov	x2, x22
	bl	_GET_KEX_LDFLAGS
	ldr	x8, [x20, #8]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	lsl	x19, x21, #3
	ldr	x8, [x8, x19]
	lsl	x27, x22, #3
	str	x0, [x8, x27]
	ldr	x0, [x25]
	mov	x1, x21
	mov	x2, x22
	bl	_GET_KEX_LDFLAGS
	ldr	x8, [x20, #8]
	ldr	x9, [x25]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, x19]
	str	x0, [x8, x27]
	add	x22, x22, #1
	ldrsw	x9, [x23]
	cmp	x22, x9
	b.lt	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x26]
	b	LBB0_16
LBB0_21:
	ldr	w0, [x20]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _MKEX_NAME_LEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MKEX_NAME_LEN@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NIX_INTF_RX,8,3                ; @NIX_INTF_RX
	.comm	_NIX_INTF_TX,8,3                ; @NIX_INTF_TX
	.comm	_NPC_MAX_LID,4,2                ; @NPC_MAX_LID
	.comm	_NPC_MAX_LT,4,2                 ; @NPC_MAX_LT
	.comm	_NPC_MAX_LD,4,2                 ; @NPC_MAX_LD
	.comm	_NPC_MAX_LFL,4,2                ; @NPC_MAX_LFL
	.comm	_MKEX_NAME_LEN,4,2              ; @MKEX_NAME_LEN
.subsections_via_symbols
