	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_set_params_timeout          ## -- Begin function t4_set_params_timeout
	.p2align	4, 0x90
_t4_set_params_timeout:                 ## @t4_set_params_timeout
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$8, %r8d
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movq	%r9, %r15
	movl	%r8d, %r13d
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_FW_PARAMS_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movl	%eax, %r12d
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_FW_CMD_WRITE_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	%r14d, %edi
	callq	_FW_PARAMS_CMD_PFN_V
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_FW_PARAMS_CMD_VFN_V
	orl	%eax, %r14d
	orl	%r12d, %r14d
	movl	%r14d, %edi
	callq	_cpu_to_be32
	movq	%rax, -72(%rbp)
	movq	-64(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-80(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_FW_LEN16
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -80(%rbp)
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.3:
	movq	16(%rbp), %r14
	movl	%r13d, %r12d
	xorl	%ebx, %ebx
                                        ## implicit-def: $r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_cpu_to_be32
	movl	%eax, (%rax)
	movl	(%r14,%rbx,4), %edi
	callq	_cpu_to_be32
	movl	%eax, 4(%r13)
	addq	$8, %r13
	incq	%rbx
	cmpl	%ebx, %r12d
	jne	LBB0_4
LBB0_5:
	leaq	-80(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	$24, %ecx
	xorl	%r8d, %r8d
	movl	24(%rbp), %r9d
	callq	_t4_wr_mbox_timeout
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FW_PARAMS_CMD,4,2              ## @FW_PARAMS_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ## @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ## @FW_CMD_WRITE_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_set_params_timeout          ; -- Begin function t4_set_params_timeout
	.p2align	2
_t4_set_params_timeout:                 ; @t4_set_params_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	w4, #8
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	mov	x19, x7
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh3:
	adrp	x8, _FW_PARAMS_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_PARAMS_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh6:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh9:
	adrp	x9, _FW_CMD_WRITE_F@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FW_CMD_WRITE_F@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w26, w8, w9
	mov	x0, x25
	bl	_FW_PARAMS_CMD_PFN_V
	orr	w25, w26, w0
	mov	x0, x24
	bl	_FW_PARAMS_CMD_VFN_V
	orr	w0, w25, w0
	bl	_cpu_to_be32
	str	x0, [sp, #32]
	ldur	q0, [sp, #24]
	str	q0, [sp]
	ldr	x8, [sp, #40]
	str	x8, [sp, #16]
	mov	x0, sp
	bl	_FW_LEN16
	bl	_cpu_to_be32
	str	x0, [sp, #24]
	cbnz	w23, LBB0_5
; %bb.3:
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x20
	mov	w3, #24
	mov	x4, #0
	mov	x5, x19
	bl	_t4_wr_mbox_timeout
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	ldr	w0, [x22]
	bl	_cpu_to_be32
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FW_PARAMS_CMD,4,2              ; @FW_PARAMS_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ; @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ; @FW_CMD_WRITE_F
.subsections_via_symbols
