	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __serdes_write_mcb_s1g
___serdes_write_mcb_s1g:                ## @__serdes_write_mcb_s1g
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	_HSIO_MCB_S1G_ADDR_CFG@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movl	%esi, %edi
	callq	_BIT
	movl	%eax, %edi
	callq	_HSIO_MCB_S1G_ADDR_CFG_SERDES1G_ADDR
	orl	%ebx, %eax
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_regmap_write
	movl	(%r12), %esi
	xorl	%ecx, %ecx
	testl	%ebx, %ebx
	setne	%cl
	movq	_MCB_S1G_CFG_TIMEOUT@GOTPCREL(%rip), %rax
	imull	$1000, (%rax), %r9d             ## imm = 0x3E8
	movq	%r14, %rdi
	movl	$100, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_read_poll_timeout       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HSIO_MCB_S1G_ADDR_CFG,4,2      ## @HSIO_MCB_S1G_ADDR_CFG
	.comm	_MCB_S1G_CFG_TIMEOUT,4,2        ## @MCB_S1G_CFG_TIMEOUT
	.no_dead_strip	___serdes_write_mcb_s1g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __serdes_write_mcb_s1g
___serdes_write_mcb_s1g:                ; @__serdes_write_mcb_s1g
	.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, x0
Lloh0:
	adrp	x22, _HSIO_MCB_S1G_ADDR_CFG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HSIO_MCB_S1G_ADDR_CFG@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x1
	bl	_BIT
	bl	_HSIO_MCB_S1G_ADDR_CFG_SERDES1G_ADDR
	orr	w2, w0, w19
	mov	x0, x20
	mov	x1, x21
	bl	_regmap_write
	ldr	w1, [x22]
	cmp	w19, #0
	cset	w3, ne
Lloh2:
	adrp	x8, _MCB_S1G_CFG_TIMEOUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MCB_S1G_CFG_TIMEOUT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #1000
	mul	w5, w8, w9
	mov	x0, x20
	mov	w4, #100
	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	_regmap_read_poll_timeout
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HSIO_MCB_S1G_ADDR_CFG,4,2      ; @HSIO_MCB_S1G_ADDR_CFG
	.comm	_MCB_S1G_CFG_TIMEOUT,4,2        ; @MCB_S1G_CFG_TIMEOUT
	.no_dead_strip	___serdes_write_mcb_s1g
.subsections_via_symbols
