	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de21040_get_media_info
_de21040_get_media_info:                ## @de21040_get_media_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	$129, (%rdi)
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SUPPORTED_AUI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	4(%rdi), %ecx
	movl	%ecx, 4(%rdi)
	movl	%ecx, 8(%rdi)
	movq	_DE_MAX_MEDIA@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	je	LBB0_6
## %bb.1:
	movq	_t21040_csr13@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_t21040_csr14@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_t21040_csr15@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	movq	_DE_MEDIA_INVALID@GOTPCREL(%rip), %r9
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r9), %edx
	movq	16(%rdi), %rbx
	movl	%edx, (%rbx,%rax)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	movl	(%r8), %edx
	addq	$16, %rax
	cmpq	%rdx, %rcx
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-128(%rcx), %edx
	cmpl	$2, %edx
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdi), %rdx
	movl	%ecx, (%rdx,%rax)
	movl	(%r10,%rcx,4), %ebx
	movl	%ebx, 12(%rdx,%rax)
	movl	(%r11,%rcx,4), %ebx
	movl	%ebx, 8(%rdx,%rax)
	movl	(%rsi,%rcx,4), %ebx
	movl	%ebx, 4(%rdx,%rax)
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_AUI,4,2              ## @SUPPORTED_AUI
	.comm	_DE_MAX_MEDIA,4,2               ## @DE_MAX_MEDIA
	.comm	_t21040_csr13,8,3               ## @t21040_csr13
	.comm	_t21040_csr14,8,3               ## @t21040_csr14
	.comm	_t21040_csr15,8,3               ## @t21040_csr15
	.comm	_DE_MEDIA_INVALID,4,2           ## @DE_MEDIA_INVALID
	.no_dead_strip	_de21040_get_media_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de21040_get_media_info
_de21040_get_media_info:                ; @de21040_get_media_info
	.cfi_startproc
; %bb.0:
	mov	w8, #129
	str	w8, [x0]
Lloh0:
	adrp	x8, _SUPPORTED_TP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_TP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _SUPPORTED_AUI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SUPPORTED_AUI@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x0, #4]
	orr	w8, w8, w9
	stp	w8, w8, [x0, #4]
Lloh12:
	adrp	x8, _DE_MAX_MEDIA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DE_MAX_MEDIA@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_6
; %bb.1:
	mov	x9, #0
	mov	x10, #0
Lloh14:
	adrp	x11, _t21040_csr13@GOTPAGE
Lloh15:
	ldr	x11, [x11, _t21040_csr13@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
Lloh17:
	adrp	x12, _t21040_csr14@GOTPAGE
Lloh18:
	ldr	x12, [x12, _t21040_csr14@GOTPAGEOFF]
Lloh19:
	ldr	x12, [x12]
Lloh20:
	adrp	x13, _t21040_csr15@GOTPAGE
Lloh21:
	ldr	x13, [x13, _t21040_csr15@GOTPAGEOFF]
Lloh22:
	ldr	x13, [x13]
Lloh23:
	adrp	x14, _DE_MEDIA_INVALID@GOTPAGE
Lloh24:
	ldr	x14, [x14, _DE_MEDIA_INVALID@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w15, [x14]
	ldr	x16, [x0, #16]
	str	w15, [x16, x9]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	ldr	w15, [x8]
	add	x9, x9, #16
	cmp	x10, x15
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w15, w10, #128
	cmp	w15, #2
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x0, #16]
	add	x15, x15, x9
	str	w10, [x15]
	lsl	x16, x10, #2
	ldr	w17, [x11, x16]
	str	w17, [x15, #12]
	ldr	w17, [x12, x16]
	str	w17, [x15, #8]
	ldr	w16, [x13, x16]
	str	w16, [x15, #4]
	b	LBB0_3
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_AUI,4,2              ; @SUPPORTED_AUI
	.comm	_DE_MAX_MEDIA,4,2               ; @DE_MAX_MEDIA
	.comm	_t21040_csr13,8,3               ; @t21040_csr13
	.comm	_t21040_csr14,8,3               ; @t21040_csr14
	.comm	_t21040_csr15,8,3               ; @t21040_csr15
	.comm	_DE_MEDIA_INVALID,4,2           ; @DE_MEDIA_INVALID
	.no_dead_strip	_de21040_get_media_info
.subsections_via_symbols
