	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_txdds
_set_txdds:                             ## @set_txdds
	.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	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	_IBSD_DDS_MAP_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_KREG_IBPORT_IDX
	addl	%r12d, %eax
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %ecx
	sarl	$2, %ecx
	addl	%ecx, %eax
LBB0_2:
	movq	_DDS_ENT_AMP_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%r13), %esi
	movl	4(%r13), %edi
	shll	%cl, %esi
	movq	_DDS_ENT_MAIN_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	movl	8(%r13), %ebx
	movq	_DDS_ENT_PRE_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	movq	_DDS_ENT_POST_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	12(%r13), %edx
	shll	%cl, %edx
	orl	%esi, %edi
	orl	%ebx, %edx
	orl	%edi, %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_qib_write_kreg
	movq	(%r15), %rdi
	movq	_kr_scratch@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qib_write_kreg                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IBSD_DDS_MAP_TABLE,4,2         ## @IBSD_DDS_MAP_TABLE
	.comm	_DDS_ENT_AMP_LSB,4,2            ## @DDS_ENT_AMP_LSB
	.comm	_DDS_ENT_MAIN_LSB,4,2           ## @DDS_ENT_MAIN_LSB
	.comm	_DDS_ENT_PRE_LSB,4,2            ## @DDS_ENT_PRE_LSB
	.comm	_DDS_ENT_POST_LSB,4,2           ## @DDS_ENT_POST_LSB
	.comm	_kr_scratch,4,2                 ## @kr_scratch
	.no_dead_strip	_set_txdds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_txdds
_set_txdds:                             ; @set_txdds
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _IBSD_DDS_MAP_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBSD_DDS_MAP_TABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_KREG_IBPORT_IDX
	add	w1, w0, w22
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	add	w1, w1, w8, asr #2
LBB0_2:
Lloh3:
	adrp	x8, _DDS_ENT_AMP_LSB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DDS_ENT_AMP_LSB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w9, w10, [x21]
	lsl	w8, w9, w8
Lloh6:
	adrp	x9, _DDS_ENT_MAIN_LSB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DDS_ENT_MAIN_LSB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _DDS_ENT_PRE_LSB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DDS_ENT_PRE_LSB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldp	w10, w11, [x21, #8]
	lsl	w9, w10, w9
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _DDS_ENT_POST_LSB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DDS_ENT_POST_LSB@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsl	w9, w11, w9
	orr	w2, w8, w9
	mov	x0, x20
	bl	_qib_write_kreg
	ldr	x0, [x19]
Lloh15:
	adrp	x8, _kr_scratch@GOTPAGE
Lloh16:
	ldr	x8, [x8, _kr_scratch@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w2, #0
	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
	b	_qib_write_kreg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IBSD_DDS_MAP_TABLE,4,2         ; @IBSD_DDS_MAP_TABLE
	.comm	_DDS_ENT_AMP_LSB,4,2            ; @DDS_ENT_AMP_LSB
	.comm	_DDS_ENT_MAIN_LSB,4,2           ; @DDS_ENT_MAIN_LSB
	.comm	_DDS_ENT_PRE_LSB,4,2            ; @DDS_ENT_PRE_LSB
	.comm	_DDS_ENT_POST_LSB,4,2           ; @DDS_ENT_POST_LSB
	.comm	_kr_scratch,4,2                 ; @kr_scratch
	.no_dead_strip	_set_txdds
.subsections_via_symbols
