	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vchiq_functional_test
_vchiq_functional_test:                 ## @vchiq_functional_test
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_g_params@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	$1, %ebx
	movq	_VCHIQ_SUCCESS@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r14
	movq	_VCHIQ_ERROR@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %eax
	cmpl	(%r15), %eax
	jge	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_printf
	xorl	%eax, %eax
	callq	_do_functional_test
	incl	%ebx
	cmpq	(%r12), %rax
	je	LBB0_1
## %bb.3:
	movq	%r13, %r12
LBB0_4:
	movq	(%r12), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Functional test - iters:%d\n"

	.comm	_g_params,4,2                   ## @g_params
L_.str.1:                               ## @.str.1
	.asciz	"======== iteration %d ========\n"

	.comm	_VCHIQ_SUCCESS,8,3              ## @VCHIQ_SUCCESS
	.comm	_VCHIQ_ERROR,8,3                ## @VCHIQ_ERROR
	.no_dead_strip	_vchiq_functional_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vchiq_functional_test
_vchiq_functional_test:                 ; @vchiq_functional_test
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _g_params@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_params@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w19, #1
Lloh4:
	adrp	x22, _VCHIQ_SUCCESS@GOTPAGE
Lloh5:
	ldr	x22, [x22, _VCHIQ_SUCCESS@GOTPAGEOFF]
Lloh6:
	adrp	x23, _VCHIQ_ERROR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _VCHIQ_ERROR@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w19, #1
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_printf
	bl	_do_functional_test
	ldr	x8, [x22]
	add	w19, w19, #1
	cmp	x0, x8
	b.eq	LBB0_1
; %bb.3:
	mov	x22, x23
LBB0_4:
	ldr	x0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Functional test - iters:%d\n"

	.comm	_g_params,4,2                   ; @g_params
l_.str.1:                               ; @.str.1
	.asciz	"======== iteration %d ========\n"

	.comm	_VCHIQ_SUCCESS,8,3              ; @VCHIQ_SUCCESS
	.comm	_VCHIQ_ERROR,8,3                ; @VCHIQ_ERROR
	.no_dead_strip	_vchiq_functional_test
.subsections_via_symbols
