	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iflib_irq_set_affinity
_iflib_irq_set_affinity:                ## @iflib_irq_set_affinity
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rsi, %rax
	movq	%rdi, %r15
	movl	(%rdi), %esi
	cmpq	$0, 16(%rdi)
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	movq	_IFLIB_INTR_TX@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_3
## %bb.2:
	addl	8(%r15), %esi
LBB0_3:
	movl	24(%r15), %r13d
	addl	%ebx, %esi
	movq	%r15, %rdi
	callq	_find_nth
	movl	%eax, %r12d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_get_core_offset
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	24(%rbp), %rbx
	movq	16(%rbp), %r14
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_find_close_core
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r9d
	movq	%rbx, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%eax, %ecx
	movl	%r13d, %r8d
	callq	_taskqgroup_attach_cpu
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_device_printf
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFLIB_INTR_TX,8,3              ## @IFLIB_INTR_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_core_offset failed\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"taskqgroup_attach_cpu failed %d\n"

	.no_dead_strip	_iflib_irq_set_affinity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iflib_irq_set_affinity
_iflib_irq_set_affinity:                ; @iflib_irq_set_affinity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x21, x6
	mov	x23, x5
	mov	x22, x4
	mov	x25, x3
	mov	x26, x2
	mov	x24, x1
	mov	x27, x0
	ldr	w19, [x0, #24]
	ldr	w8, [x0]
	ldr	x9, [x0, #16]
Lloh0:
	adrp	x10, _IFLIB_INTR_TX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFLIB_INTR_TX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, #0
	ccmp	x10, x2, #0, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x27, #8]
	add	w8, w8, w9
LBB0_2:
	add	w1, w8, w25
	mov	x0, x27
	bl	_find_nth
	mov	x28, x0
	mov	x0, x27
	mov	x1, x26
	mov	x2, x25
	bl	_get_core_offset
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x1, x0
	mov	x0, x28
	bl	_find_close_core
	mov	x3, x0
	ldr	w5, [x24]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x4, x19
	mov	x6, x20
	bl	_taskqgroup_attach_cpu
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.4:
	str	x20, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_device_printf
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IFLIB_INTR_TX,8,3              ; @IFLIB_INTR_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_core_offset failed\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"taskqgroup_attach_cpu failed %d\n"

	.no_dead_strip	_iflib_irq_set_affinity
.subsections_via_symbols
