	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_tsb41ba3d
_probe_tsb41ba3d:                       ## @probe_tsb41ba3d
	.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
	movq	%rdi, %r12
	movl	$2, %esi
	callq	_read_phy_reg
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movq	_PHY_EXTENDED_REGISTERS@GOTPCREL(%rip), %rcx
	notl	%eax
	xorl	%r14d, %r14d
	testl	%eax, (%rcx)
	jne	LBB0_9
## %bb.2:
	leaq	_probe_tsb41ba3d.id(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	9(%rbx), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_read_paged_phy_reg
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-1(%rbx), %rcx
	cmpl	-4(%r15,%rbx,4), %eax
	movq	%rcx, %rbx
	je	LBB0_3
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$1, %r14d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @probe_tsb41ba3d.id
_probe_tsb41ba3d.id:
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	40                              ## 0x28
	.long	131                             ## 0x83
	.long	48                              ## 0x30
	.long	5                               ## 0x5

	.comm	_PHY_EXTENDED_REGISTERS,4,2     ## @PHY_EXTENDED_REGISTERS
	.no_dead_strip	_probe_tsb41ba3d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_tsb41ba3d
_probe_tsb41ba3d:                       ; @probe_tsb41ba3d
	.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, x0
	mov	w1, #2
	bl	_read_phy_reg
	tbnz	w0, #31, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _PHY_EXTENDED_REGISTERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_EXTENDED_REGISTERS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bics	wzr, w8, w0
	b.ne	LBB0_6
; %bb.2:
Lloh3:
	adrp	x20, _probe_tsb41ba3d.id@PAGE
Lloh4:
	add	x20, x20, _probe_tsb41ba3d.id@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	w21, w0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w2, w21, #9
	mov	x0, x19
	mov	w1, #1
	bl	_read_paged_phy_reg
	tbnz	w0, #31, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, x21, lsl #2
	ldur	w8, [x8, #-4]
	sub	x21, x21, #1
	cmp	w0, w8
	b.eq	LBB0_3
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @probe_tsb41ba3d.id
_probe_tsb41ba3d.id:
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	40                              ; 0x28
	.long	131                             ; 0x83
	.long	48                              ; 0x30
	.long	5                               ; 0x5

	.comm	_PHY_EXTENDED_REGISTERS,4,2     ; @PHY_EXTENDED_REGISTERS
	.no_dead_strip	_probe_tsb41ba3d
.subsections_via_symbols
