	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _iwl_disable_interrupts
__iwl_disable_interrupts:               ## @_iwl_disable_interrupts
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_IWL_TRANS_GET_PCIE_TRANS
	movq	%rax, %r14
	movq	_STATUS_INT_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	cmpl	$0, 8(%r14)
	je	LBB0_1
## %bb.2:
	movq	_CSR_MSIX_FH_INT_MASK_AD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_iwl_write32
	movl	4(%r14), %r14d
	movq	_CSR_MSIX_HW_INT_MASK_AD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CSR_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_iwl_write32
	movq	_CSR_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %r14d
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_iwl_write32
	movq	_CSR_FH_INT_STATUS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_iwl_write32
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IWL_DEBUG_ISR                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_INT_ENABLED,4,2         ## @STATUS_INT_ENABLED
	.comm	_CSR_INT_MASK,4,2               ## @CSR_INT_MASK
	.comm	_CSR_INT,4,2                    ## @CSR_INT
	.comm	_CSR_FH_INT_STATUS,4,2          ## @CSR_FH_INT_STATUS
	.comm	_CSR_MSIX_FH_INT_MASK_AD,4,2    ## @CSR_MSIX_FH_INT_MASK_AD
	.comm	_CSR_MSIX_HW_INT_MASK_AD,4,2    ## @CSR_MSIX_HW_INT_MASK_AD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disabled interrupts\n"

	.no_dead_strip	__iwl_disable_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _iwl_disable_interrupts
__iwl_disable_interrupts:               ; @_iwl_disable_interrupts
	.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
	mov	x19, x0
	bl	_IWL_TRANS_GET_PCIE_TRANS
	mov	x20, x0
Lloh0:
	adrp	x8, _STATUS_INT_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_INT_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CSR_MSIX_FH_INT_MASK_AD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSR_MSIX_FH_INT_MASK_AD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_iwl_write32
	ldr	w20, [x20, #4]
Lloh6:
	adrp	x8, _CSR_MSIX_HW_INT_MASK_AD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CSR_MSIX_HW_INT_MASK_AD@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _CSR_INT_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CSR_INT_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_iwl_write32
Lloh11:
	adrp	x8, _CSR_INT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CSR_INT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w20, #-1
	mov	x0, x19
	mov	w2, #-1
	bl	_iwl_write32
Lloh14:
	adrp	x8, _CSR_FH_INT_STATUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CSR_FH_INT_STATUS@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_iwl_write32
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IWL_DEBUG_ISR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_INT_ENABLED,4,2         ; @STATUS_INT_ENABLED
	.comm	_CSR_INT_MASK,4,2               ; @CSR_INT_MASK
	.comm	_CSR_INT,4,2                    ; @CSR_INT
	.comm	_CSR_FH_INT_STATUS,4,2          ; @CSR_FH_INT_STATUS
	.comm	_CSR_MSIX_FH_INT_MASK_AD,4,2    ; @CSR_MSIX_FH_INT_MASK_AD
	.comm	_CSR_MSIX_HW_INT_MASK_AD,4,2    ; @CSR_MSIX_HW_INT_MASK_AD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disabled interrupts\n"

	.no_dead_strip	__iwl_disable_interrupts
.subsections_via_symbols
