	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_irq_disable
_igc_irq_disable:                       ## @igc_irq_disable
	.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, %r14
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_IGC_EIAM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movl	(%rbx), %edi
	movl	(%r14), %esi
	notl	%esi
	andl	%eax, %esi
	callq	_wr32
	movq	_IGC_EIMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_wr32
	movq	_IGC_EIAC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movl	(%rbx), %edi
	movl	(%r14), %esi
	notl	%esi
	andl	%eax, %esi
	callq	_wr32
LBB0_2:
	movq	_IGC_IAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_wr32
	movq	_IGC_IMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_wr32
	xorl	%eax, %eax
	callq	_wrfl
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	(%rax), %edi
	callq	_synchronize_irq
	cmpl	$0, 4(%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	4(%rax,%rbx,4), %edi
	callq	_synchronize_irq
	incq	%rbx
	cmpl	4(%r14), %ebx
	jl	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_synchronize_irq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_EIAM,4,2                   ## @IGC_EIAM
	.comm	_IGC_EIMC,4,2                   ## @IGC_EIMC
	.comm	_IGC_EIAC,4,2                   ## @IGC_EIAC
	.comm	_IGC_IAM,4,2                    ## @IGC_IAM
	.comm	_IGC_IMC,4,2                    ## @IGC_IMC
	.no_dead_strip	_igc_irq_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_irq_disable
_igc_irq_disable:                       ; @igc_irq_disable
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _IGC_EIAM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IGC_EIAM@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rd32
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w1, w0, w9
	mov	x0, x8
	bl	_wr32
Lloh2:
	adrp	x8, _IGC_EIMC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IGC_EIMC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_wr32
Lloh5:
	adrp	x20, _IGC_EIAC@GOTPAGE
Lloh6:
	ldr	x20, [x20, _IGC_EIAC@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rd32
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w1, w0, w9
	mov	x0, x8
	bl	_wr32
LBB0_2:
Lloh7:
	adrp	x8, _IGC_IAM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IGC_IAM@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_wr32
Lloh10:
	adrp	x8, _IGC_IMC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IGC_IMC@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_wr32
	bl	_wrfl
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	w0, [x8]
	bl	_synchronize_irq
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x20, lsl #2
	ldr	w0, [x8, #4]
	bl	_synchronize_irq
	ldr	w8, [x19, #4]
	add	x20, x20, #1
	cmp	w20, w8
	b.lt	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_synchronize_irq
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_EIAM,4,2                   ; @IGC_EIAM
	.comm	_IGC_EIMC,4,2                   ; @IGC_EIMC
	.comm	_IGC_EIAC,4,2                   ; @IGC_EIAC
	.comm	_IGC_IAM,4,2                    ; @IGC_IAM
	.comm	_IGC_IMC,4,2                    ; @IGC_IMC
	.no_dead_strip	_igc_irq_disable
.subsections_via_symbols
