	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_enqueue_mode
_set_enqueue_mode:                      ## @set_enqueue_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
	movq	_DPNI_ENQUEUE_FQID_VER_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DPNI_ENQUEUE_FQID_VER_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_dpaa2_eth_cmp_dpni_ver
	testq	%rax, %rax
	jns	LBB0_1
## %bb.2:
	movq	_dpaa2_eth_enqueue_qd@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_dpaa2_eth_enqueue_fq@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPNI_ENQUEUE_FQID_VER_MAJOR,4,2 ## @DPNI_ENQUEUE_FQID_VER_MAJOR
	.comm	_DPNI_ENQUEUE_FQID_VER_MINOR,4,2 ## @DPNI_ENQUEUE_FQID_VER_MINOR
	.comm	_dpaa2_eth_enqueue_qd,4,2       ## @dpaa2_eth_enqueue_qd
	.comm	_dpaa2_eth_enqueue_fq,4,2       ## @dpaa2_eth_enqueue_fq
	.no_dead_strip	_set_enqueue_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_enqueue_mode
_set_enqueue_mode:                      ; @set_enqueue_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
Lloh0:
	adrp	x8, _DPNI_ENQUEUE_FQID_VER_MAJOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPNI_ENQUEUE_FQID_VER_MAJOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DPNI_ENQUEUE_FQID_VER_MINOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DPNI_ENQUEUE_FQID_VER_MINOR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_dpaa2_eth_cmp_dpni_ver
Lloh6:
	adrp	x8, _dpaa2_eth_enqueue_qd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dpaa2_eth_enqueue_qd@GOTPAGEOFF]
Lloh8:
	adrp	x9, _dpaa2_eth_enqueue_fq@GOTPAGE
Lloh9:
	ldr	x9, [x9, _dpaa2_eth_enqueue_fq@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, lt
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPNI_ENQUEUE_FQID_VER_MAJOR,4,2 ; @DPNI_ENQUEUE_FQID_VER_MAJOR
	.comm	_DPNI_ENQUEUE_FQID_VER_MINOR,4,2 ; @DPNI_ENQUEUE_FQID_VER_MINOR
	.comm	_dpaa2_eth_enqueue_qd,4,2       ; @dpaa2_eth_enqueue_qd
	.comm	_dpaa2_eth_enqueue_fq,4,2       ; @dpaa2_eth_enqueue_fq
	.no_dead_strip	_set_enqueue_mode
.subsections_via_symbols
