	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_create_io_rx_queue
_ena_create_io_rx_queue:                ## @ena_create_io_rx_queue
	.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
	movq	%rdi, %r13
	movq	8(%rdi), %r12
	movq	16(%rdi), %r15
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movslq	%esi, %rbx
	movl	%ebx, %edi
	callq	_ENA_IO_IRQ_IDX
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_ENA_IO_RXQ_IDX
	movl	%eax, %r14d
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, -60(%rbp)
	movq	_ENA_COM_IO_QUEUE_DIRECTION_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_ENA_ADMIN_PLACEMENT_POLICY_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -72(%rbp)
	shlq	$4, %rbx
	movl	12(%r12,%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	8(%r12,%rbx), %edi
	callq	_cpu_to_node
	movl	%eax, -80(%rbp)
	movq	%r15, %r14
	movq	%r15, %rdi
	leaq	-80(%rbp), %rsi
	callq	_ena_com_create_io_queue
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	callq	_netif_err
	jmp	LBB0_5
LBB0_2:
	leaq	(%r12,%rbx), %rax
	leaq	(%r12,%rbx), %rdx
	addq	$4, %rdx
	movq	%rax, %rbx
	movq	%r14, %r12
	movq	%r14, %rdi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movq	%rax, %rcx
	callq	_ena_com_get_io_handlers
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	callq	_netif_err
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_ena_com_destroy_io_queue
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %edi
	movl	-80(%rbp), %esi
	callq	_ena_com_update_numa_node
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_COM_IO_QUEUE_DIRECTION_RX,4,2 ## @ENA_COM_IO_QUEUE_DIRECTION_RX
	.comm	_ENA_ADMIN_PLACEMENT_POLICY_HOST,4,2 ## @ENA_ADMIN_PLACEMENT_POLICY_HOST
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create I/O RX queue num %d rc: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to get RX queue handlers. RX queue num %d rc: %d\n"

	.no_dead_strip	_ena_create_io_rx_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_create_io_rx_queue
_ena_create_io_rx_queue:                ; @ena_create_io_rx_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x21, x0
	ldp	x24, x20, [x0, #8]
	mov	x0, x1
	bl	_ENA_IO_IRQ_IDX
	mov	x23, x0
	mov	x0, x19
	bl	_ENA_IO_RXQ_IDX
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _ENA_COM_IO_QUEUE_DIRECTION_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENA_COM_IO_QUEUE_DIRECTION_RX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w22, [sp, #24]
Lloh3:
	adrp	x8, _ENA_ADMIN_PLACEMENT_POLICY_HOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENA_ADMIN_PLACEMENT_POLICY_HOST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w23, w8, [sp, #16]
	add	x8, x24, w19, sxtw #4
	ldr	w9, [x8, #12]
	str	w9, [sp, #12]
	ldr	w0, [x8, #8]
	bl	_cpu_to_node
	str	w0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ena_com_create_io_queue
	cbz	w0, LBB0_2
; %bb.1:
	mov	x23, x0
Lloh6:
	adrp	x8, _ifup@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x4, x19
	mov	x5, x23
	bl	_netif_err
	b	LBB0_5
LBB0_2:
	sxtw	x8, w19
	add	x24, x24, x8, lsl #4
	add	x2, x24, #4
	mov	x0, x20
	mov	x1, x22
	mov	x3, x24
	bl	_ena_com_get_io_handlers
	mov	x23, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _ifup@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh14:
	adrp	x3, l_.str.1@PAGE
Lloh15:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x4, x19
	mov	x5, x23
	bl	_netif_err
	mov	x0, x20
	mov	x1, x22
	bl	_ena_com_destroy_io_queue
	b	LBB0_5
LBB0_4:
	ldr	w0, [x24]
	ldr	w1, [sp, #8]
	bl	_ena_com_update_numa_node
LBB0_5:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_COM_IO_QUEUE_DIRECTION_RX,4,2 ; @ENA_COM_IO_QUEUE_DIRECTION_RX
	.comm	_ENA_ADMIN_PLACEMENT_POLICY_HOST,4,2 ; @ENA_ADMIN_PLACEMENT_POLICY_HOST
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create I/O RX queue num %d rc: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to get RX queue handlers. RX queue num %d rc: %d\n"

	.no_dead_strip	_ena_create_io_rx_queue
.subsections_via_symbols
