	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_set_dev_mtu            ## -- Begin function ena_com_set_dev_mtu
	.p2align	4, 0x90
_ena_com_set_dev_mtu:                   ## @ena_com_set_dev_mtu
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_ENA_ADMIN_MTU@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_ena_com_check_supported_feature_id
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_ENA_ADMIN_SET_FEATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	(%r12), %eax
	movl	%eax, -60(%rbp)
	movl	%r14d, -64(%rbp)
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	movl	$4, %r8d
	callq	_ena_com_execute_admin_command
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_pr_err
	jmp	LBB0_4
LBB0_1:
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_ADMIN_MTU,4,2              ## @ENA_ADMIN_MTU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Feature %d isn't supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENA_ADMIN_SET_FEATURE,4,2      ## @ENA_ADMIN_SET_FEATURE
L_.str.1:                               ## @.str.1
	.asciz	"Failed to set mtu %d. error: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_set_dev_mtu            ; -- Begin function ena_com_set_dev_mtu
	.p2align	2
_ena_com_set_dev_mtu:                   ; @ena_com_set_dev_mtu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _ENA_ADMIN_MTU@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENA_ADMIN_MTU@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ena_com_check_supported_feature_id
	cbz	w0, LBB0_3
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh2:
	adrp	x8, _ENA_ADMIN_SET_FEATURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENA_ADMIN_SET_FEATURE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	ldr	w8, [x21]
	stp	w19, w8, [sp, #8]
	add	x1, sp, #8
	mov	x3, sp
	mov	x0, x20
	mov	w2, #24
	mov	w4, #4
	bl	_ena_com_execute_admin_command
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_pr_err
	b	LBB0_4
LBB0_3:
	ldr	w1, [x21]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_ADMIN_MTU,4,2              ; @ENA_ADMIN_MTU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Feature %d isn't supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENA_ADMIN_SET_FEATURE,4,2      ; @ENA_ADMIN_SET_FEATURE
l_.str.1:                               ; @.str.1
	.asciz	"Failed to set mtu %d. error: %d\n"

.subsections_via_symbols
