	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_comp_irq_affinity_hint
_set_comp_irq_affinity_hint:            ## @set_comp_irq_affinity_hint
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	_MLX5_IRQ_VEC_COMP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%esi, %ebx
	movl	%ebx, %esi
	callq	_mlx5_irq_get
	movq	%rax, %r12
	movl	4(%r15), %edi
	movl	%ebx, %esi
	callq	_pci_irq_vector
	movl	%eax, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_zalloc_cpumask_var
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %esi
	movl	%r13d, %edi
	callq	_cpumask_local_spread
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_cpumask_set_cpu
	movq	_CONFIG_SMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_irq_set_affinity_hint
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_mlx5_core_warn
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_mlx5_core_warn
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_IRQ_VEC_COMP_BASE,4,2     ## @MLX5_IRQ_VEC_COMP_BASE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zalloc_cpumask_var failed"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CONFIG_SMP,4,2                 ## @CONFIG_SMP
L_.str.1:                               ## @.str.1
	.asciz	"irq_set_affinity_hint failed, irq 0x%.4x"

	.no_dead_strip	_set_comp_irq_affinity_hint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_comp_irq_affinity_hint
_set_comp_irq_affinity_hint:            ; @set_comp_irq_affinity_hint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MLX5_IRQ_VEC_COMP_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_IRQ_VEC_COMP_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w20, w8, w1
	mov	x1, x20
	bl	_mlx5_irq_get
	mov	x21, x0
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_pci_irq_vector
	mov	x20, x0
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_zalloc_cpumask_var
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x22
	bl	_cpumask_local_spread
	ldr	w1, [x21]
	bl	_cpumask_set_cpu
Lloh6:
	adrp	x8, _CONFIG_SMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONFIG_SMP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_irq_set_affinity_hint
	cbz	x0, LBB0_5
; %bb.3:
	str	x20, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_warn
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_warn
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_IRQ_VEC_COMP_BASE,4,2     ; @MLX5_IRQ_VEC_COMP_BASE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zalloc_cpumask_var failed"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CONFIG_SMP,4,2                 ; @CONFIG_SMP
l_.str.1:                               ; @.str.1
	.asciz	"irq_set_affinity_hint failed, irq 0x%.4x"

	.no_dead_strip	_set_comp_irq_affinity_hint
.subsections_via_symbols
