	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_indirect_table_set     ## -- Begin function ena_com_indirect_table_set
	.p2align	4, 0x90
_ena_com_indirect_table_set:            ## @ena_com_indirect_table_set
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ENA_ADMIN_RSS_REDIRECTION_TABLE_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ena_com_check_supported_feature_id
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_ena_com_ind_tbl_convert_to_device
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_1:
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_4:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_ENA_ADMIN_SET_FEATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)
	movl	$-1, -56(%rbp)
	leaq	-72(%rbp), %rsi
	movl	8(%r14), %edx
	movq	%r14, %rdi
	callq	_ena_com_mem_addr_set
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	xorl	%eax, %eax
	callq	_pr_err
LBB0_9:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movb	(%r14), %cl
	addq	$16, %r14
	movl	$4, %eax
	shlq	%cl, %rax
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-32(%rbp), %rcx
	movq	%r14, %rdi
	movl	$48, %edx
	movl	$4, %r8d
	callq	_ena_com_execute_admin_command
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_ADMIN_RSS_REDIRECTION_TABLE_CONFIG,4,2 ## @ENA_ADMIN_RSS_REDIRECTION_TABLE_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Feature %d isn't supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"Failed to convert host indirection table to device table\n"

	.comm	_ENA_ADMIN_SET_FEATURE,4,2      ## @ENA_ADMIN_SET_FEATURE
	.comm	_ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK,4,2 ## @ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK
L_.str.2:                               ## @.str.2
	.asciz	"memory address set failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to set indirect table. error: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_indirect_table_set     ; -- Begin function ena_com_indirect_table_set
	.p2align	2
_ena_com_indirect_table_set:            ; @ena_com_indirect_table_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
Lloh0:
	adrp	x21, _ENA_ADMIN_RSS_REDIRECTION_TABLE_CONFIG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENA_ADMIN_RSS_REDIRECTION_TABLE_CONFIG@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ena_com_check_supported_feature_id
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ena_com_ind_tbl_convert_to_device
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_3:
	ldr	w1, [x21]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_9
LBB0_4:
	add	x20, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh9:
	adrp	x8, _ENA_ADMIN_SET_FEATURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENA_ADMIN_SET_FEATURE@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #52]
	ldr	w8, [x21]
	ldr	x9, [x19]
	str	x9, [sp, #32]
	mov	w9, #-1
	str	w8, [sp, #48]
	str	w9, [sp, #40]
	add	x1, x20, #8
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_ena_com_mem_addr_set
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
	add	x0, x19, #16
	ldr	x8, [x19]
	mov	w9, #4
	lsl	x8, x9, x8
	str	x8, [sp, #16]
	add	x1, sp, #16
	add	x3, sp, #8
	mov	w2, #48
	mov	w4, #4
	bl	_ena_com_execute_admin_command
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.7:
	str	x20, [sp]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_8:
	bl	_pr_err
LBB0_9:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_ADMIN_RSS_REDIRECTION_TABLE_CONFIG,4,2 ; @ENA_ADMIN_RSS_REDIRECTION_TABLE_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Feature %d isn't supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"Failed to convert host indirection table to device table\n"

	.comm	_ENA_ADMIN_SET_FEATURE,4,2      ; @ENA_ADMIN_SET_FEATURE
	.comm	_ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK,4,2 ; @ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK
l_.str.2:                               ; @.str.2
	.asciz	"memory address set failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to set indirect table. error: %d\n"

.subsections_via_symbols
