	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alx_config_vector_mapping
_alx_config_vector_mapping:             ## @alx_config_vector_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	8(%rdi), %r14
	movq	$0, -24(%rbp)
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.4:
	movq	_txq_vec_mapping_shift@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$1, %r8d
	jne	LBB0_6
## %bb.5:
	movl	$1, %esi
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_6:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%edi, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rsi), %ebx
	movslq	(%rax,%rsi,8), %rdx
	movzbl	4(%rax,%rsi,8), %ecx
	shll	%cl, %ebx
	orl	%ebx, -24(%rbp,%rdx,4)
	movzbl	12(%rax,%rsi,8), %ecx
	leal	2(%rsi), %edx
	shll	%cl, %edx
	movslq	8(%rax,%rsi,8), %rcx
	orl	%edx, -24(%rbp,%rcx,4)
	addq	$2, %rsi
	addq	$4, %rdi
	cmpq	%rsi, %r9
	jne	LBB0_7
## %bb.8:
	incl	%esi
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movslq	(%rax,%rdi,4), %rdx
	shlq	$2, %rdi
	orq	$4, %rdi
	movb	(%rax,%rdi), %cl
	shll	%cl, %esi
	orl	%esi, -24(%rbp,%rdx,4)
LBB0_11:
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %ebx
LBB0_12:
	movq	_ALX_MSI_MAP_TBL1_RXQ0_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
LBB0_13:
	movq	_ALX_MSI_MAP_TBL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_MSI_MAP_TBL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_alx_write_mem32
	movq	_ALX_MSI_ID_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_alx_write_mem32                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_txq_vec_mapping_shift,8,3      ## @txq_vec_mapping_shift
	.comm	_ALX_MSI_MAP_TBL1_RXQ0_SHIFT,4,2 ## @ALX_MSI_MAP_TBL1_RXQ0_SHIFT
	.comm	_ALX_MSI_MAP_TBL1,4,2           ## @ALX_MSI_MAP_TBL1
	.comm	_ALX_MSI_MAP_TBL2,4,2           ## @ALX_MSI_MAP_TBL2
	.comm	_ALX_MSI_ID_MAP,4,2             ## @ALX_MSI_ID_MAP
	.no_dead_strip	_alx_config_vector_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alx_config_vector_mapping
_alx_config_vector_mapping:             ; @alx_config_vector_mapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x19, #8]!
	str	xzr, [sp, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x9, #0
Lloh0:
	adrp	x10, _txq_vec_mapping_shift@GOTPAGE
Lloh1:
	ldr	x10, [x10, _txq_vec_mapping_shift@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x10, x10, #4
	add	x11, sp, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x9, #1
	ldursw	x12, [x10, #-4]
	ldr	w13, [x10], #8
	lsl	x12, x12, #2
	ldr	w14, [x11, x12]
	lsl	w13, w9, w13
	orr	w13, w14, w13
	str	w13, [x11, x12]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.4:
	ldp	w8, w20, [sp, #8]
	b	LBB0_7
LBB0_5:
	mov	w20, #0
	mov	w2, #0
	b	LBB0_8
LBB0_6:
	mov	w20, #0
	mov	w8, #0
LBB0_7:
Lloh3:
	adrp	x9, _ALX_MSI_MAP_TBL1_RXQ0_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ALX_MSI_MAP_TBL1_RXQ0_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w2, w8, w9
LBB0_8:
Lloh6:
	adrp	x8, _ALX_MSI_MAP_TBL1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALX_MSI_MAP_TBL1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh9:
	adrp	x8, _ALX_MSI_MAP_TBL2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALX_MSI_MAP_TBL2@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_alx_write_mem32
Lloh12:
	adrp	x8, _ALX_MSI_ID_MAP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ALX_MSI_ID_MAP@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_alx_write_mem32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_txq_vec_mapping_shift,8,3      ; @txq_vec_mapping_shift
	.comm	_ALX_MSI_MAP_TBL1_RXQ0_SHIFT,4,2 ; @ALX_MSI_MAP_TBL1_RXQ0_SHIFT
	.comm	_ALX_MSI_MAP_TBL1,4,2           ; @ALX_MSI_MAP_TBL1
	.comm	_ALX_MSI_MAP_TBL2,4,2           ; @ALX_MSI_MAP_TBL2
	.comm	_ALX_MSI_ID_MAP,4,2             ; @ALX_MSI_ID_MAP
	.no_dead_strip	_alx_config_vector_mapping
.subsections_via_symbols
