	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_config_dev_mode        ## -- Begin function ena_com_config_dev_mode
	.p2align	4, 0x90
_ena_com_config_dev_mode:               ## @ena_com_config_dev_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_ena_com_config_llq_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	16(%rbx), %rax
	movslq	24(%rbx), %rcx
	shlq	$2, %rcx
	xorl	%edi, %edi
	subq	%rcx, %rax
	movq	%rax, (%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_1:
	movq	_ENA_ADMIN_PLACEMENT_POLICY_HOST@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_ENA_ADMIN_PLACEMENT_POLICY_DEV@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_ADMIN_PLACEMENT_POLICY_HOST,4,2 ## @ENA_ADMIN_PLACEMENT_POLICY_HOST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"the size of the LLQ entry is smaller than needed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENA_ADMIN_PLACEMENT_POLICY_DEV,4,2 ## @ENA_ADMIN_PLACEMENT_POLICY_DEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ena_com_config_dev_mode        ; -- Begin function ena_com_config_dev_mode
	.p2align	2
_ena_com_config_dev_mode:               ; @ena_com_config_dev_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_ena_com_config_llq_info
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #24]
	sub	x8, x8, x9, lsl #2
	str	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_4:
	mov	w0, #0
Lloh5:
	adrp	x8, _ENA_ADMIN_PLACEMENT_POLICY_HOST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENA_ADMIN_PLACEMENT_POLICY_HOST@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _ENA_ADMIN_PLACEMENT_POLICY_DEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENA_ADMIN_PLACEMENT_POLICY_DEV@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_ADMIN_PLACEMENT_POLICY_HOST,4,2 ; @ENA_ADMIN_PLACEMENT_POLICY_HOST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"the size of the LLQ entry is smaller than needed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENA_ADMIN_PLACEMENT_POLICY_DEV,4,2 ; @ENA_ADMIN_PLACEMENT_POLICY_DEV
.subsections_via_symbols
