	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_tx_serdes_param
_write_tx_serdes_param:                 ## @write_tx_serdes_param
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_krp_tx_deemph_override@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_qib_read_kreg_port
	movl	%eax, %r12d
	movq	_IBSD_TX_DEEMPHASIS_OVERRIDE_0@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_txampcntl_d2a@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_MASK
	movl	%eax, %r13d
	movl	(%r14), %edi
	movq	_txc0_ena@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_MASK
	orl	%eax, %r13d
	movl	(%r14), %edi
	movq	_txcp1_ena@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_MASK
	movl	%eax, %ebx
	movl	(%r14), %edi
	movq	_txcn1_ena@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_MASK
	orl	%eax, %ebx
	orl	%r13d, %ebx
	notl	%ebx
	andl	%r12d, %ebx
	movl	(%r14), %edi
	movq	_tx_override_deemphasis_select@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_MASK
	orl	%eax, %ebx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r13d
	movl	(%r14), %edi
	movq	_txampcntl_d2a@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_SYM_RMASK
	andl	%eax, %r13d
	movl	(%r14), %edi
	movl	(%r12), %esi
	callq	_SYM_LSB
	movl	%eax, %ecx
	shll	%cl, %r13d
	movl	4(%r15), %r12d
	movl	(%r14), %edi
	movq	_txc0_ena@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_SYM_RMASK
	andl	%eax, %r12d
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_SYM_LSB
	movl	%eax, %ecx
	shll	%cl, %r12d
	orl	%r13d, %r12d
	orl	%ebx, %r12d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	8(%r15), %r13d
	movl	(%r14), %edi
	movq	_txcp1_ena@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_SYM_RMASK
	andl	%eax, %r13d
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_SYM_LSB
	movl	%eax, %ecx
	shll	%cl, %r13d
	movl	12(%r15), %ebx
	movl	(%r14), %edi
	movq	_txcn1_ena@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_SYM_RMASK
	andl	%eax, %ebx
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_SYM_LSB
	movl	%eax, %ecx
	shll	%cl, %ebx
	orl	%r13d, %ebx
	orl	%r12d, %ebx
	movq	_krp_tx_deemph_override@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qib_write_kreg_port            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_krp_tx_deemph_override,4,2     ## @krp_tx_deemph_override
	.comm	_IBSD_TX_DEEMPHASIS_OVERRIDE_0,4,2 ## @IBSD_TX_DEEMPHASIS_OVERRIDE_0
	.comm	_txampcntl_d2a,4,2              ## @txampcntl_d2a
	.comm	_txc0_ena,4,2                   ## @txc0_ena
	.comm	_txcp1_ena,4,2                  ## @txcp1_ena
	.comm	_txcn1_ena,4,2                  ## @txcn1_ena
	.comm	_tx_override_deemphasis_select,4,2 ## @tx_override_deemphasis_select
	.no_dead_strip	_write_tx_serdes_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_tx_serdes_param
_write_tx_serdes_param:                 ; @write_tx_serdes_param
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _krp_tx_deemph_override@GOTPAGE
Lloh1:
	ldr	x23, [x23, _krp_tx_deemph_override@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_qib_read_kreg_port
	mov	x21, x0
Lloh2:
	adrp	x24, _IBSD_TX_DEEMPHASIS_OVERRIDE_0@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IBSD_TX_DEEMPHASIS_OVERRIDE_0@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh4:
	adrp	x27, _txampcntl_d2a@GOTPAGE
Lloh5:
	ldr	x27, [x27, _txampcntl_d2a@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_SYM_MASK
	mov	x22, x0
	ldr	w0, [x24]
Lloh6:
	adrp	x26, _txc0_ena@GOTPAGE
Lloh7:
	ldr	x26, [x26, _txc0_ena@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_SYM_MASK
	orr	w22, w0, w22
	ldr	w0, [x24]
Lloh8:
	adrp	x25, _txcp1_ena@GOTPAGE
Lloh9:
	ldr	x25, [x25, _txcp1_ena@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_SYM_MASK
	orr	w28, w22, w0
	ldr	w0, [x24]
Lloh10:
	adrp	x22, _txcn1_ena@GOTPAGE
Lloh11:
	ldr	x22, [x22, _txcn1_ena@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_SYM_MASK
	orr	w8, w28, w0
	bic	w21, w21, w8
	ldr	w0, [x24]
Lloh12:
	adrp	x8, _tx_override_deemphasis_select@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tx_override_deemphasis_select@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_SYM_MASK
	orr	w21, w0, w21
	ldr	w28, [x20]
	ldr	w0, [x24]
	ldr	w1, [x27]
	bl	_SYM_RMASK
	and	w28, w0, w28
	ldr	w0, [x24]
	ldr	w1, [x27]
	bl	_SYM_LSB
	lsl	w8, w28, w0
	orr	w21, w21, w8
	ldr	w27, [x20, #4]
	ldr	w0, [x24]
	ldr	w1, [x26]
	bl	_SYM_RMASK
	and	w27, w0, w27
	ldr	w0, [x24]
	ldr	w1, [x26]
	bl	_SYM_LSB
	lsl	w8, w27, w0
	orr	w21, w21, w8
	ldr	w26, [x20, #8]
	ldr	w0, [x24]
	ldr	w1, [x25]
	bl	_SYM_RMASK
	and	w26, w0, w26
	ldr	w0, [x24]
	ldr	w1, [x25]
	bl	_SYM_LSB
	lsl	w8, w26, w0
	orr	w21, w21, w8
	ldr	w20, [x20, #12]
	ldr	w0, [x24]
	ldr	w1, [x22]
	bl	_SYM_RMASK
	and	w20, w0, w20
	ldr	w0, [x24]
	ldr	w1, [x22]
	bl	_SYM_LSB
	lsl	w8, w20, w0
	orr	w2, w21, w8
	ldr	w1, [x23]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_qib_write_kreg_port
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_krp_tx_deemph_override,4,2     ; @krp_tx_deemph_override
	.comm	_IBSD_TX_DEEMPHASIS_OVERRIDE_0,4,2 ; @IBSD_TX_DEEMPHASIS_OVERRIDE_0
	.comm	_txampcntl_d2a,4,2              ; @txampcntl_d2a
	.comm	_txc0_ena,4,2                   ; @txc0_ena
	.comm	_txcp1_ena,4,2                  ; @txcp1_ena
	.comm	_txcn1_ena,4,2                  ; @txcn1_ena
	.comm	_tx_override_deemphasis_select,4,2 ; @tx_override_deemphasis_select
	.no_dead_strip	_write_tx_serdes_param
.subsections_via_symbols
