	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_read_table             ## -- Begin function wlc_phy_read_table
	.p2align	4, 0x90
_wlc_phy_read_table:                    ## @wlc_phy_read_table
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	(%rsi), %edx
	movl	4(%rsi), %ecx
	movl	8(%rsi), %r14d
	movq	16(%rsi), %r15
	shll	$10, %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	orl	%ecx, %edx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_write_phy_reg
	cmpl	$0, 12(%r13)
	jle	LBB0_11
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_read_phy_reg
	cltq
	movq	%rax, (%r15,%r12,8)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	12(%r13), %rax
	cmpq	%rax, %r12
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_BCMA_CHIP_ID_BCM43224@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, 8(%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_read_phy_reg
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %edx
	orl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_write_phy_reg
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	cmpl	$16, %r14d
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$32, %r14d
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_read_phy_reg
	movl	%eax, (%r15,%r12,4)
	movq	%rbx, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_read_phy_reg
	shll	$16, %eax
	orl	%eax, (%r15,%r12,4)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_read_phy_reg
	movl	%eax, (%r15,%r12,4)
	jmp	LBB0_10
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CHIP_ID_BCM43224,8,3      ## @BCMA_CHIP_ID_BCM43224
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_read_table             ; -- Begin function wlc_phy_read_table
	.p2align	2
_wlc_phy_read_table:                    ; @wlc_phy_read_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x9, x2
	mov	x22, x1
	mov	x23, x0
	ldp	w8, w10, [x1]
	ldr	w25, [x1, #8]
	ldr	x26, [x1, #16]
	lsl	w27, w8, #10
	str	x10, [sp]                       ; 8-byte Folded Spill
	orr	w2, w27, w10
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	mov	x1, x9
	bl	_write_phy_reg
	ldr	w8, [x22, #12]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x28, #0
Lloh0:
	adrp	x21, _BCMA_CHIP_ID_BCM43224@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BCMA_CHIP_ID_BCM43224@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_read_phy_reg
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x26, x28, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x22, #12]
	cmp	x28, x8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_read_phy_reg
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	w8, w8, w28
	orr	w2, w8, w27
	mov	x0, x23
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x19
	cmp	w25, #16
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #32
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_read_phy_reg
	lsl	x24, x28, #2
	str	w0, [x26, x24]
	mov	x0, x23
	mov	x1, x20
	bl	_read_phy_reg
	ldr	w8, [x26, x24]
	orr	w8, w8, w0, lsl #16
	str	w8, [x26, x24]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_read_phy_reg
	str	w0, [x26, x28, lsl #2]
	b	LBB0_3
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CHIP_ID_BCM43224,8,3      ; @BCMA_CHIP_ID_BCM43224
.subsections_via_symbols
