	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_conf_msix_hw          ## -- Begin function iwl_pcie_conf_msix_hw
	.p2align	4, 0x90
_iwl_pcie_conf_msix_hw:                 ## @iwl_pcie_conf_msix_hw
	.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	8(%rdi), %rbx
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.4:
	movq	_STATUS_DEVICE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_UREG_CHICK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UREG_CHICK_MSIX_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_iwl_write_umac_prph
LBB0_6:
	movq	%rbx, %rdi
	callq	_iwl_pcie_map_rx_causes
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iwl_pcie_map_non_rx_causes     ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_STATUS_DEVICE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_UREG_CHICK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UREG_CHICK_MSI_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iwl_write_umac_prph            ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_DEVICE_ENABLED,4,2      ## @STATUS_DEVICE_ENABLED
	.comm	_UREG_CHICK,4,2                 ## @UREG_CHICK
	.comm	_UREG_CHICK_MSI_ENABLE,4,2      ## @UREG_CHICK_MSI_ENABLE
	.comm	_UREG_CHICK_MSIX_ENABLE,4,2     ## @UREG_CHICK_MSIX_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_conf_msix_hw          ; -- Begin function iwl_pcie_conf_msix_hw
	.p2align	2
_iwl_pcie_conf_msix_hw:                 ; @iwl_pcie_conf_msix_hw
	.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
	ldr	x19, [x0, #8]
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _STATUS_DEVICE_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_DEVICE_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _UREG_CHICK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UREG_CHICK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _UREG_CHICK_MSIX_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UREG_CHICK_MSIX_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_iwl_write_umac_prph
LBB0_3:
	mov	x0, x19
	bl	_iwl_pcie_map_rx_causes
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_pcie_map_non_rx_causes
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
Lloh9:
	adrp	x8, _STATUS_DEVICE_ENABLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATUS_DEVICE_ENABLED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _UREG_CHICK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UREG_CHICK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _UREG_CHICK_MSI_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UREG_CHICK_MSI_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_write_umac_prph
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_DEVICE_ENABLED,4,2      ; @STATUS_DEVICE_ENABLED
	.comm	_UREG_CHICK,4,2                 ; @UREG_CHICK
	.comm	_UREG_CHICK_MSI_ENABLE,4,2      ; @UREG_CHICK_MSI_ENABLE
	.comm	_UREG_CHICK_MSIX_ENABLE,4,2     ; @UREG_CHICK_MSIX_ENABLE
.subsections_via_symbols
