	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qt2025c_firmware_id
_qt2025c_firmware_id:                   ## @qt2025c_firmware_id
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_MDIO_MMD_PCS@GOTPCREL(%rip), %r15
	movq	_PCS_FW_PRODUCT_CODE_1@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	(%r12), %rdx
	addq	%rbx, %rdx
	movq	%r14, %rdi
	callq	_ef4_mdio_read
	movl	%eax, -96(%rbp,%rbx,4)
	incq	%rbx
	cmpq	$36, %rbx
	jne	LBB0_1
## %bb.2:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movl	-96(%rbp), %r8d
	movl	-88(%rbp), %r9d
	shll	$8, %r8d
	orl	-92(%rbp), %r8d
	movl	-84(%rbp), %r13d
	movl	%r13d, %eax
	sarl	$4, %eax
	movl	%r13d, %r15d
	andl	$15, %r15d
	movl	-80(%rbp), %r12d
	movl	-76(%rbp), %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	-72(%rbp), %r10d
	movl	-68(%rbp), %r11d
	movl	-64(%rbp), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	pushq	%rbx
	pushq	%r12
	pushq	%r15
	pushq	%rax
	callq	_netif_info
	addq	$64, %rsp
	shll	$20, %r13d
	andl	$251658240, %r13d               ## imm = 0xF000000
	shll	$16, %r15d
	orl	%r13d, %r15d
	shll	$8, %r12d
	orl	%ebx, %r12d
	orl	%r15d, %r12d
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_MMD_PCS,4,2               ## @MDIO_MMD_PCS
	.comm	_PCS_FW_PRODUCT_CODE_1,8,3      ## @PCS_FW_PRODUCT_CODE_1
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QT2025C firmware %xr%d v%d.%d.%d.%d [20%02d-%02d-%02d]\n"

	.no_dead_strip	_qt2025c_firmware_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qt2025c_firmware_id
_qt2025c_firmware_id:                   ; @qt2025c_firmware_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	mov	x21, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x20, [x0, #8]
Lloh3:
	adrp	x22, _MDIO_MMD_PCS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MDIO_MMD_PCS@GOTPAGEOFF]
Lloh5:
	adrp	x23, _PCS_FW_PRODUCT_CODE_1@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PCS_FW_PRODUCT_CODE_1@GOTPAGEOFF]
	add	x24, sp, #20
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	ldr	x8, [x23]
	add	x2, x21, x8
	mov	x0, x19
	bl	_ef4_mdio_read
	str	w0, [x24, x21, lsl #2]
	add	x21, x21, #1
	cmp	x21, #36
	b.ne	LBB0_1
; %bb.2:
Lloh7:
	adrp	x8, _probe@GOTPAGE
Lloh8:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x19]
	ldp	w8, w9, [sp, #20]
	orr	w4, w9, w8, lsl #8
	ldp	w5, w21, [sp, #28]
	asr	w6, w21, #4
	and	w7, w21, #0xf
	ldp	w22, w23, [sp, #36]
	ldur	x8, [sp, #44]
	ldr	w9, [sp, #52]
	str	w9, [sp, #16]
	str	x8, [sp, #8]
	stp	w22, w23, [sp]
Lloh10:
	adrp	x3, l_.str@PAGE
Lloh11:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_info
	lsl	w8, w21, #20
	and	w8, w8, #0xf000000
	bfi	w8, w21, #16, #4
	orr	w8, w8, w22, lsl #8
	orr	w8, w8, w23
	str	w8, [x20]
	ldr	x8, [sp, #56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_MMD_PCS,4,2               ; @MDIO_MMD_PCS
	.comm	_PCS_FW_PRODUCT_CODE_1,8,3      ; @PCS_FW_PRODUCT_CODE_1
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QT2025C firmware %xr%d v%d.%d.%d.%d [20%02d-%02d-%02d]\n"

	.no_dead_strip	_qt2025c_firmware_id
.subsections_via_symbols
