	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lmc_t1_set_crc_length
_lmc_t1_set_crc_length:                 ## @lmc_t1_set_crc_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LMC_CTL_CRC_LENGTH_32@GOTPCREL(%rip), %rax
	movq	_LMC_MII16_T1_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	orl	(%rdi), %ecx
	movl	%ecx, (%rdi)
	movq	_LMC_CTL_CRC_BYTESIZE_4@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	notl	%ecx
	andl	(%rdi), %ecx
	movl	%ecx, (%rdi)
	movq	_LMC_CTL_CRC_BYTESIZE_2@GOTPCREL(%rip), %rdx
	movq	_LMC_CTL_CRC_LENGTH_16@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rdx), %edx
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movl	%edx, 4(%rdi)
	xorl	%esi, %esi
	movl	$16, %edx
	popq	%rbp
	jmp	_lmc_mii_writereg               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LMC_CTL_CRC_LENGTH_32,4,2      ## @LMC_CTL_CRC_LENGTH_32
	.comm	_LMC_MII16_T1_CRC,4,2           ## @LMC_MII16_T1_CRC
	.comm	_LMC_CTL_CRC_BYTESIZE_4,4,2     ## @LMC_CTL_CRC_BYTESIZE_4
	.comm	_LMC_CTL_CRC_LENGTH_16,4,2      ## @LMC_CTL_CRC_LENGTH_16
	.comm	_LMC_CTL_CRC_BYTESIZE_2,4,2     ## @LMC_CTL_CRC_BYTESIZE_2
	.no_dead_strip	_lmc_t1_set_crc_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lmc_t1_set_crc_length
_lmc_t1_set_crc_length:                 ; @lmc_t1_set_crc_length
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LMC_CTL_CRC_LENGTH_32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LMC_CTL_CRC_LENGTH_32@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _LMC_MII16_T1_CRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LMC_MII16_T1_CRC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w9, w1
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x0]
	orr	w3, w9, w8
	str	w3, [x0]
Lloh6:
	adrp	x8, _LMC_CTL_CRC_BYTESIZE_4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LMC_CTL_CRC_BYTESIZE_4@GOTPAGEOFF]
Lloh8:
	adrp	x9, _LMC_CTL_CRC_LENGTH_32@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LMC_CTL_CRC_LENGTH_32@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w9, [x0]
	bic	w3, w9, w8
	str	w3, [x0]
Lloh10:
	adrp	x8, _LMC_CTL_CRC_BYTESIZE_2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LMC_CTL_CRC_BYTESIZE_2@GOTPAGEOFF]
Lloh12:
	adrp	x9, _LMC_CTL_CRC_LENGTH_16@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LMC_CTL_CRC_LENGTH_16@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	ldr	w9, [x9]
	stp	w8, w9, [x0, #4]
	mov	w1, #0
	mov	w2, #16
	b	_lmc_mii_writereg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LMC_CTL_CRC_LENGTH_32,4,2      ; @LMC_CTL_CRC_LENGTH_32
	.comm	_LMC_MII16_T1_CRC,4,2           ; @LMC_MII16_T1_CRC
	.comm	_LMC_CTL_CRC_BYTESIZE_4,4,2     ; @LMC_CTL_CRC_BYTESIZE_4
	.comm	_LMC_CTL_CRC_LENGTH_16,4,2      ; @LMC_CTL_CRC_LENGTH_16
	.comm	_LMC_CTL_CRC_BYTESIZE_2,4,2     ; @LMC_CTL_CRC_BYTESIZE_2
	.no_dead_strip	_lmc_t1_set_crc_length
.subsections_via_symbols
