	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function npc_program_mkex_profile
_npc_program_mkex_profile:              ## @npc_program_mkex_profile
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_NIX_INTF_RX@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_NPC_AF_INTFX_KEX_CFG
	movq	24(%r14), %rcx
	movq	(%r13), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_rvu_write64
	movq	_NIX_INTF_TX@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_NPC_AF_INTFX_KEX_CFG
	movq	24(%r14), %rcx
	movq	(%rbx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_rvu_write64
	movq	_NPC_MAX_LD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_NPC_AF_KEX_LDATAX_FLAGS_CFG
	movq	16(%r14), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_rvu_write64
	incq	%rbx
	movq	_NPC_MAX_LD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_NPC_MAX_LID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	jle	LBB0_14
## %bb.4:
	movq	_NPC_MAX_LT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NPC_MAX_LID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	%edx, %rsi
	cmpq	%rsi, %r15
	jge	LBB0_14
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r12
	movslq	%ecx, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_12
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	testl	%eax, %eax
	jle	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r13), %rdi
	movq	8(%r14), %rax
	movq	(%rax,%rdi,8), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax,%r12,8), %rax
	movl	(%rax,%rbx,4), %r8d
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_SET_KEX_LD
	movq	_NIX_INTF_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r14), %rax
	movq	(%rax,%rdi,8), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax,%r12,8), %rax
	movl	(%rax,%rbx,4), %r8d
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_SET_KEX_LD
	incq	%rbx
	movq	_NPC_MAX_LD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	_NPC_MAX_LT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_11
LBB0_14:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.15:
	movq	_NPC_MAX_LFL@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	movslq	%eax, %rdx
	cmpq	%rdx, %r15
	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	(%r13), %rdi
	movq	(%r14), %rax
	movq	(%rax,%rdi,8), %rax
	movq	(%rax,%r15,8), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_SET_KEX_LDFLAGS
	movq	_NIX_INTF_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r14), %rax
	movq	(%rax,%rdi,8), %rax
	movq	(%rax,%r15,8), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_SET_KEX_LDFLAGS
	incq	%rbx
	movslq	(%r12), %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:
	addq	$8, %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_LD,4,2                 ## @NPC_MAX_LD
	.comm	_NPC_MAX_LID,4,2                ## @NPC_MAX_LID
	.comm	_NPC_MAX_LT,4,2                 ## @NPC_MAX_LT
	.comm	_NPC_MAX_LFL,4,2                ## @NPC_MAX_LFL
	.no_dead_strip	_npc_program_mkex_profile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function npc_program_mkex_profile
_npc_program_mkex_profile:              ; @npc_program_mkex_profile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _NIX_INTF_RX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NIX_INTF_RX@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_NPC_AF_INTFX_KEX_CFG
	mov	x2, x0
	ldr	x8, [x19, #24]
	ldr	x9, [x23]
	ldr	w3, [x8, x9, lsl #2]
	mov	x0, x21
	mov	x1, x20
	bl	_rvu_write64
Lloh2:
	adrp	x24, _NIX_INTF_TX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NIX_INTF_TX@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_NPC_AF_INTFX_KEX_CFG
	mov	x2, x0
	ldr	x8, [x19, #24]
	ldr	x9, [x24]
	ldr	w3, [x8, x9, lsl #2]
	mov	x0, x21
	mov	x1, x20
	bl	_rvu_write64
Lloh4:
	adrp	x25, _NPC_MAX_LD@GOTPAGE
Lloh5:
	ldr	x25, [x25, _NPC_MAX_LD@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_NPC_AF_KEX_LDATAX_FLAGS_CFG
	mov	x2, x0
	ldr	x8, [x19, #16]
	ldr	w3, [x8, x22, lsl #2]
	mov	x0, x21
	mov	x1, x20
	bl	_rvu_write64
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.3:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_4:
Lloh6:
	adrp	x9, _NPC_MAX_LID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NPC_MAX_LID@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_15
; %bb.5:
	mov	x20, #0
Lloh9:
	adrp	x9, _NPC_MAX_LT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NPC_MAX_LT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
Lloh12:
	adrp	x10, _NPC_MAX_LID@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NPC_MAX_LID@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, #1
	cmp	x20, w10, sxtw
	b.ge	LBB0_15
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x21, x21, #1
	cmp	x21, w9, sxtw
	b.ge	LBB0_6
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x22, #0
LBB0_13:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x23]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x0, lsl #3]
	lsl	x28, x20, #3
	ldr	x8, [x8, x28]
	lsl	x26, x21, #3
	ldr	x8, [x8, x26]
	lsl	x27, x22, #2
	ldr	w4, [x8, x27]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_SET_KEX_LD
	ldr	x0, [x24]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x0, lsl #3]
	ldr	x8, [x8, x28]
	ldr	x8, [x8, x26]
	ldr	w4, [x8, x27]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_SET_KEX_LD
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
Lloh15:
	adrp	x9, _NPC_MAX_LT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NPC_MAX_LT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	b	LBB0_10
LBB0_15:
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.16:
	mov	x20, #0
Lloh18:
	adrp	x22, _NPC_MAX_LFL@GOTPAGE
Lloh19:
	ldr	x22, [x22, _NPC_MAX_LFL@GOTPAGEOFF]
	ldr	w9, [x22]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_22
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x21, #0
LBB0_20:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x23]
	ldr	x8, [x19]
	ldr	x8, [x8, x0, lsl #3]
	lsl	x26, x20, #3
	ldr	x8, [x8, x26]
	lsl	x27, x21, #2
	ldr	w3, [x8, x27]
	mov	x1, x20
	mov	x2, x21
	bl	_SET_KEX_LDFLAGS
	ldr	x0, [x24]
	ldr	x8, [x19]
	ldr	x8, [x8, x0, lsl #3]
	ldr	x8, [x8, x26]
	ldr	w3, [x8, x27]
	mov	x1, x20
	mov	x2, x21
	bl	_SET_KEX_LDFLAGS
	add	x21, x21, #1
	ldrsw	x9, [x22]
	cmp	x21, x9
	b.lt	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x25]
	b	LBB0_17
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.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_LD,4,2                 ; @NPC_MAX_LD
	.comm	_NPC_MAX_LID,4,2                ; @NPC_MAX_LID
	.comm	_NPC_MAX_LT,4,2                 ; @NPC_MAX_LT
	.comm	_NPC_MAX_LFL,4,2                ; @NPC_MAX_LFL
	.no_dead_strip	_npc_program_mkex_profile
.subsections_via_symbols
