	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw5864_queue_setup
_tw5864_queue_setup:                    ## @tw5864_queue_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	movl	(%rcx), %ecx
	movq	_H264_VLC_BUF_SIZE@GOTPCREL(%rip), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	subl	(%rsi), %eax
	cmpl	(%rdx), %ecx
	cmovael	%edi, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_H264_VLC_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movl	$1, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H264_VLC_BUF_SIZE,4,2          ## @H264_VLC_BUF_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tw5864_queue_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw5864_queue_setup
_tw5864_queue_setup:                    ; @tw5864_queue_setup
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x3]
Lloh0:
	adrp	x9, _H264_VLC_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _H264_VLC_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _EINVAL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w8, w9
	csneg	w0, wzr, w10, hs
	ret
LBB0_2:
	mov	w0, #0
Lloh6:
	adrp	x8, _H264_VLC_BUF_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _H264_VLC_BUF_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x3]
	mov	w8, #1
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_H264_VLC_BUF_SIZE,4,2          ; @H264_VLC_BUF_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tw5864_queue_setup
.subsections_via_symbols
