	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_ring_irq_enable
_igc_ring_irq_enable:                   ## @igc_ring_irq_enable
	.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
	movq	16(%rdi), %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	testb	$3, (%rbx)
	jne	LBB0_3
	jmp	LBB0_6
LBB0_2:
	testb	$3, 4(%rbx)
	je	LBB0_6
LBB0_3:
	cmpl	$1, 8(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_igc_set_itr
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_igc_update_ring_itr
LBB0_6:
	movq	___IGC_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.10:
	movq	_IGC_EIMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_igc_irq_enable                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___IGC_DOWN,4,2                 ## @__IGC_DOWN
	.comm	_IGC_EIMS,4,2                   ## @IGC_EIMS
	.no_dead_strip	_igc_ring_irq_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_ring_irq_enable
_igc_ring_irq_enable:                   ; @igc_ring_irq_enable
	.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
	ldp	x8, x20, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldrb	w8, [x20]
	tst	w8, #0x3
	b.ne	LBB0_3
	b	LBB0_6
LBB0_2:
	ldrb	w8, [x20, #4]
	tst	w8, #0x3
	b.eq	LBB0_6
LBB0_3:
	ldr	w8, [x20, #8]
	mov	x0, x19
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
	bl	_igc_set_itr
	b	LBB0_6
LBB0_5:
	bl	_igc_update_ring_itr
LBB0_6:
Lloh0:
	adrp	x8, ___IGC_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IGC_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #24
	bl	_test_bit
	cbz	w0, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_10
; %bb.9:
Lloh3:
	adrp	x8, _IGC_EIMS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGC_EIMS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wr32
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_igc_irq_enable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	___IGC_DOWN,4,2                 ; @__IGC_DOWN
	.comm	_IGC_EIMS,4,2                   ; @IGC_EIMS
	.no_dead_strip	_igc_ring_irq_enable
.subsections_via_symbols
