	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmvnic_disable_irqs
_ibmvnic_disable_irqs:                  ## @ibmvnic_disable_irqs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %rcx
	movq	24(%rdi), %r14
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_netdev_dbg
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_disable_scrq_irq
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	callq	_disable_irq
	movl	(%r15), %eax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.8:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.9:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_netdev_dbg
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_disable_scrq_irq
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	callq	_disable_irq
	movl	4(%r15), %eax
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r15), %rcx
	jmp	LBB0_10
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disabling tx_scrq[%d] irq\n"

L_.str.1:                               ## @.str.1
	.asciz	"Disabling rx_scrq[%d] irq\n"

	.no_dead_strip	_ibmvnic_disable_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmvnic_disable_irqs
_ibmvnic_disable_irqs:                  ; @ibmvnic_disable_irqs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	x9, x20, [x0, #16]
	cbz	x9, LBB0_7
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x9, x21, lsl #3]
	ldr	x9, [x9]
	cbz	x9, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_netdev_dbg
	ldr	x8, [x19, #16]
	lsl	x23, x21, #3
	ldr	x1, [x8, x23]
	mov	x0, x19
	bl	_disable_scrq_irq
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x23]
	ldr	x0, [x8]
	bl	_disable_irq
	ldr	w8, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #16]
	b	LBB0_3
LBB0_7:
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_14
; %bb.8:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.9:
	mov	x21, #0
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x9, x21, lsl #3]
	ldr	x9, [x9]
	cbz	x9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_netdev_dbg
	ldr	x8, [x19, #8]
	lsl	x23, x21, #3
	ldr	x1, [x8, x23]
	mov	x0, x19
	bl	_disable_scrq_irq
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23]
	ldr	x0, [x8]
	bl	_disable_irq
	ldr	w8, [x19, #4]
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x19, #8]
	b	LBB0_10
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disabling tx_scrq[%d] irq\n"

l_.str.1:                               ; @.str.1
	.asciz	"Disabling rx_scrq[%d] irq\n"

	.no_dead_strip	_ibmvnic_disable_irqs
.subsections_via_symbols
