	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_table_data_write       ## -- Begin function wlc_phy_table_data_write
	.p2align	4, 0x90
_wlc_phy_table_data_write:              ## @wlc_phy_table_data_write
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %rcx
	movq	_BCMA_CHIP_ID_BCM43224@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	cmpl	$1, 8(%rax)
	jne	LBB0_4
## %bb.2:
	movl	(%rbx), %eax
	movq	_NPHY_TBL_ID_ANTSWCTRLLUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_read_phy_reg
	movl	(%rbx), %edx
	movl	16(%rbx), %esi
	shll	$10, %edx
	orl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_write_phy_reg
	incl	4(%rbx)
LBB0_4:
	cmpl	$32, %r15d
	jne	LBB0_6
## %bb.5:
	movl	12(%rbx), %esi
	movl	%r14d, %edx
	sarl	$16, %edx
	movq	%rbx, %rdi
	callq	_write_phy_reg
LBB0_6:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_phy_reg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CHIP_ID_BCM43224,8,3      ## @BCMA_CHIP_ID_BCM43224
	.comm	_NPHY_TBL_ID_ANTSWCTRLLUT,4,2   ## @NPHY_TBL_ID_ANTSWCTRLLUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_table_data_write       ; -- Begin function wlc_phy_table_data_write
	.p2align	2
_wlc_phy_table_data_write:              ; @wlc_phy_table_data_write
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _BCMA_CHIP_ID_BCM43224@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BCMA_CHIP_ID_BCM43224@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _NPHY_TBL_ID_ANTSWCTRLLUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NPHY_TBL_ID_ANTSWCTRLLUT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x20, #8]
	mov	x0, x20
	bl	_read_phy_reg
	ldr	w1, [x20, #16]
	ldp	w8, w9, [x20]
	orr	w2, w9, w8, lsl #10
	mov	x0, x20
	bl	_write_phy_reg
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
LBB0_4:
	cmp	w21, #32
	b.ne	LBB0_6
; %bb.5:
	ldr	w1, [x20, #12]
	asr	w2, w19, #16
	mov	x0, x20
	bl	_write_phy_reg
LBB0_6:
	ldr	w1, [x20, #8]
	mov	x0, x20
	mov	x2, x19
	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
	b	_write_phy_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CHIP_ID_BCM43224,8,3      ; @BCMA_CHIP_ID_BCM43224
	.comm	_NPHY_TBL_ID_ANTSWCTRLLUT,4,2   ; @NPHY_TBL_ID_ANTSWCTRLLUT
.subsections_via_symbols
