	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmdq_xlate
_cmdq_xlate:                            ## @cmdq_xlate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movslq	(%rax), %rcx
	cmpl	(%rdi), %ecx
	jge	LBB0_2
## %bb.1:
	movq	8(%rdi), %rdx
	movq	(%rdx,%rcx,8), %rsi
	movl	4(%rax), %edi
	movl	%edi, (%rsi)
	xorl	%edi, %edi
	cmpl	$0, 8(%rax)
	leaq	(%rdx,%rcx,8), %rax
	setne	%dil
	movl	%edi, 4(%rsi)
	movq	%rax, 8(%rsi)
	popq	%rbp
	retq
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cmdq_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmdq_xlate
_cmdq_xlate:                            ; @cmdq_xlate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldrsw	x9, [x8]
	ldr	w10, [x0]
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	ldr	x10, [x0, #8]
	add	x0, x10, x9, lsl #3
	ldr	x9, [x0]
	ldr	w10, [x8, #4]
	str	w10, [x9]
	ldr	w8, [x8, #8]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x9, #4]
	str	x0, [x9, #8]
	ret
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cmdq_xlate
.subsections_via_symbols
