	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4vf_get_dev_params            ## -- Begin function t4vf_get_dev_params
	.p2align	4, 0x90
_t4vf_get_dev_params:                   ## @t4vf_get_dev_params
	.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	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_FW_PARAMS_MNEM_DEV@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_FW_PARAMS_MNEM_V
	movl	%eax, %ebx
	movq	_FW_PARAMS_PARAM_DEV_FWREV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_PARAMS_PARAM_X_V
	orl	%ebx, %eax
	cltq
	movq	%rax, -96(%rbp)
	movl	(%r15), %edi
	callq	_FW_PARAMS_MNEM_V
	movl	%eax, %ebx
	movq	_FW_PARAMS_PARAM_DEV_TPREV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_PARAMS_PARAM_X_V
	orl	%ebx, %eax
	cltq
	movq	%rax, -88(%rbp)
	leaq	-96(%rbp), %rdx
	leaq	-160(%rbp), %rcx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_t4vf_query_params
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	pshufd	$78, -160(%rbp), %xmm0          ## xmm0 = mem[2,3,0,1]
	movdqu	%xmm0, (%r14)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$136, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PARAMS_MNEM_DEV,4,2         ## @FW_PARAMS_MNEM_DEV
	.comm	_FW_PARAMS_PARAM_DEV_FWREV,4,2  ## @FW_PARAMS_PARAM_DEV_FWREV
	.comm	_FW_PARAMS_PARAM_DEV_TPREV,4,2  ## @FW_PARAMS_PARAM_DEV_TPREV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4vf_get_dev_params            ; -- Begin function t4vf_get_dev_params
	.p2align	2
_t4vf_get_dev_params:                   ; @t4vf_get_dev_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _FW_PARAMS_MNEM_DEV@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FW_PARAMS_MNEM_DEV@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_FW_PARAMS_MNEM_V
	mov	x20, x0
Lloh5:
	adrp	x8, _FW_PARAMS_PARAM_DEV_FWREV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FW_PARAMS_PARAM_DEV_FWREV@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_FW_PARAMS_PARAM_X_V
	orr	w8, w0, w20
	sxtw	x8, w8
	str	x8, [sp, #64]
	ldr	w0, [x21]
	bl	_FW_PARAMS_MNEM_V
	mov	x20, x0
Lloh8:
	adrp	x8, _FW_PARAMS_PARAM_DEV_TPREV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FW_PARAMS_PARAM_DEV_TPREV@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_FW_PARAMS_PARAM_X_V
	orr	w8, w0, w20
	sxtw	x8, w8
	str	x8, [sp, #72]
	add	x2, sp, #64
	add	x3, sp, #8
	mov	x0, x19
	mov	w1, #2
	bl	_t4vf_query_params
	cbnz	w0, LBB0_2
; %bb.1:
	ldp	x8, x9, [sp, #8]
	stp	x9, x8, [x19]
LBB0_2:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PARAMS_MNEM_DEV,4,2         ; @FW_PARAMS_MNEM_DEV
	.comm	_FW_PARAMS_PARAM_DEV_FWREV,4,2  ; @FW_PARAMS_PARAM_DEV_FWREV
	.comm	_FW_PARAMS_PARAM_DEV_TPREV,4,2  ; @FW_PARAMS_PARAM_DEV_TPREV
.subsections_via_symbols
