	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_mask_msix                  ## -- Begin function alx_mask_msix
	.p2align	4, 0x90
_alx_mask_msix:                         ## @alx_mask_msix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_ALX_MSIX_ENTRY_BASE@GOTPCREL(%rip), %rax
	movq	_PCI_MSIX_ENTRY_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	%esi, %rdi
	imulq	%rcx, %rdi
	movq	_PCI_MSIX_ENTRY_VECTOR_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	addq	%rdi, %rsi
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	_PCI_MSIX_ENTRY_CTRL_MASKBIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	movq	%rbx, %rdi
	callq	_alx_write_mem32
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_alx_post_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ALX_MSIX_ENTRY_BASE,8,3        ## @ALX_MSIX_ENTRY_BASE
	.comm	_PCI_MSIX_ENTRY_SIZE,4,2        ## @PCI_MSIX_ENTRY_SIZE
	.comm	_PCI_MSIX_ENTRY_VECTOR_CTRL,8,3 ## @PCI_MSIX_ENTRY_VECTOR_CTRL
	.comm	_PCI_MSIX_ENTRY_CTRL_MASKBIT,8,3 ## @PCI_MSIX_ENTRY_CTRL_MASKBIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_mask_msix                  ; -- Begin function alx_mask_msix
	.p2align	2
_alx_mask_msix:                         ; @alx_mask_msix
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ALX_MSIX_ENTRY_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALX_MSIX_ENTRY_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PCI_MSIX_ENTRY_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_MSIX_ENTRY_SIZE@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	sxtw	x10, w1
Lloh6:
	adrp	x11, _PCI_MSIX_ENTRY_VECTOR_CTRL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _PCI_MSIX_ENTRY_VECTOR_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	add	x8, x11, x8
	madd	x1, x9, x10, x8
Lloh9:
	adrp	x8, _PCI_MSIX_ENTRY_CTRL_MASKBIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCI_MSIX_ENTRY_CTRL_MASKBIT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	w2, #0
	csel	x2, xzr, x8, eq
	bl	_alx_write_mem32
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_alx_post_write
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALX_MSIX_ENTRY_BASE,8,3        ; @ALX_MSIX_ENTRY_BASE
	.comm	_PCI_MSIX_ENTRY_SIZE,4,2        ; @PCI_MSIX_ENTRY_SIZE
	.comm	_PCI_MSIX_ENTRY_VECTOR_CTRL,8,3 ; @PCI_MSIX_ENTRY_VECTOR_CTRL
	.comm	_PCI_MSIX_ENTRY_CTRL_MASKBIT,8,3 ; @PCI_MSIX_ENTRY_CTRL_MASKBIT
.subsections_via_symbols
