	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_cmd_table_helper_assign_control_parameter ## -- Begin function dal_cmd_table_helper_assign_control_parameter
	.p2align	4, 0x90
_dal_cmd_table_helper_assign_control_parameter: ## @dal_cmd_table_helper_assign_control_parameter
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rdi
	movq	_TRANSMITTER_UNIPHY_B@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_3
## %bb.1:
	movq	_TRANSMITTER_UNIPHY_D@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_3
## %bb.2:
	movq	_TRANSMITTER_UNIPHY_F@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_4
LBB0_3:
	movl	$1, 24(%r14)
LBB0_4:
	callq	*16(%r15)
	movq	%rax, 32(%r14)
	movl	32(%rbx), %edi
	callq	*8(%r15)
	movl	%eax, 20(%r14)
	movslq	8(%rbx), %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_le16
	movl	%eax, 16(%r14)
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	callq	*(%r15)
	movq	%rax, 8(%r14)
	movq	16(%rbx), %rax
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSMITTER_UNIPHY_B,8,3       ## @TRANSMITTER_UNIPHY_B
	.comm	_TRANSMITTER_UNIPHY_D,8,3       ## @TRANSMITTER_UNIPHY_D
	.comm	_TRANSMITTER_UNIPHY_F,8,3       ## @TRANSMITTER_UNIPHY_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_cmd_table_helper_assign_control_parameter ; -- Begin function dal_cmd_table_helper_assign_control_parameter
	.p2align	2
_dal_cmd_table_helper_assign_control_parameter: ; @dal_cmd_table_helper_assign_control_parameter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x1]
Lloh0:
	adrp	x8, _TRANSMITTER_UNIPHY_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRANSMITTER_UNIPHY_B@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TRANSMITTER_UNIPHY_D@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRANSMITTER_UNIPHY_D@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _TRANSMITTER_UNIPHY_F@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TRANSMITTER_UNIPHY_F@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	ccmp	x0, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19, #24]
LBB0_2:
	ldr	x8, [x21, #16]
	blr	x8
	str	x0, [x19, #32]
	ldr	x8, [x21, #8]
	ldr	w0, [x20, #32]
	blr	x8
	str	w0, [x19, #20]
	ldrsw	x8, [x20, #8]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w0, w8, w9, asr #2
	bl	_cpu_to_le16
	str	w0, [x19, #16]
	ldr	x8, [x21]
	ldp	w1, w0, [x20, #24]
	blr	x8
	ldr	x8, [x20, #16]
	stp	x8, x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSMITTER_UNIPHY_B,8,3       ; @TRANSMITTER_UNIPHY_B
	.comm	_TRANSMITTER_UNIPHY_D,8,3       ; @TRANSMITTER_UNIPHY_D
	.comm	_TRANSMITTER_UNIPHY_F,8,3       ; @TRANSMITTER_UNIPHY_F
.subsections_via_symbols
