	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_ntab_write_bulk            ## -- Begin function b43_ntab_write_bulk
	.p2align	4, 0x90
_b43_ntab_write_bulk:                   ## @b43_ntab_write_bulk
	.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
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rdi, %r13
	movq	_B43_NTAB_TYPEMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %ebx
	notl	%ebx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	andl	%esi, %ebx
	xorl	%edi, %edi
	cmpl	$65536, %ebx                    ## imm = 0x10000
	setge	%dil
	callq	_B43_WARN_ON
	movq	_B43_NPHY_TABLE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.1:
	andl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%ebx, %eax
	andl	$-1024, %eax                    ## imm = 0xFC00
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %r13d
	addq	$16, %r14
	movq	_B43_NPHY_TABLE_DATAHI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	sarl	$16, %edx
	movq	%r14, %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_TABLE_DATALO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%r13w, %edx
	movq	%r14, %rdi
	movq	%r15, %r14
	movl	-60(%rbp), %r15d                ## 4-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_b43_phy_write
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	decl	%r12d
	je	LBB0_16
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$9216, -44(%rbp)                ## 4-byte Folded Reload
                                        ## imm = 0x2400
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpl	$43224, (%rax)                  ## imm = 0xA8D8
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, 4(%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_B43_NPHY_TABLE_DATALO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_b43_phy_read
	movq	_B43_NPHY_TABLE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$130, %r15d
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %r15d
	je	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$128, %r15d
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %r13d
	addq	$4, %r14
	movl	%r13d, %edi
	andl	$-256, %edi
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %r13d
	addq	$8, %r14
	movl	%r13d, %edi
	andl	$-65536, %edi                   ## imm = 0xFFFF0000
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_B43_WARN_ON
	movq	_B43_NPHY_TABLE_DATALO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_B43_WARN_ON
	jmp	LBB0_4
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_NTAB_TYPEMASK,4,2          ## @B43_NTAB_TYPEMASK
	.comm	_B43_NPHY_TABLE_ADDR,4,2        ## @B43_NPHY_TABLE_ADDR
	.comm	_B43_NPHY_TABLE_DATALO,4,2      ## @B43_NPHY_TABLE_DATALO
	.comm	_B43_NPHY_TABLE_DATAHI,4,2      ## @B43_NPHY_TABLE_DATAHI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_ntab_write_bulk            ; -- Begin function b43_ntab_write_bulk
	.p2align	2
_b43_ntab_write_bulk:                   ; @b43_ntab_write_bulk
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _B43_NTAB_TYPEMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_NTAB_TYPEMASK@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	bic	w22, w1, w24
	cmp	w22, #16, lsl #12               ; =65536
	cset	w0, ge
	bl	_B43_WARN_ON
Lloh3:
	adrp	x8, _B43_NPHY_TABLE_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_NPHY_TABLE_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_b43_phy_write
	cbz	w20, LBB0_16
; %bb.1:
	and	w25, w24, w23
	and	w26, w22, #0xfffffc00
	mov	w27, #9216
	mov	w28, #43224
Lloh6:
	adrp	x24, _B43_NPHY_TABLE_DATALO@GOTPAGE
Lloh7:
	ldr	x24, [x24, _B43_NPHY_TABLE_DATALO@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w23, [x19], #16
Lloh8:
	adrp	x8, _B43_NPHY_TABLE_DATAHI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_NPHY_TABLE_DATAHI@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	asr	w2, w23, #16
	mov	x0, x21
	bl	_b43_phy_write
	ldr	w1, [x24]
	and	w2, w23, #0xffff
	mov	x0, x21
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_b43_phy_write
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	subs	w20, w20, #1
	b.eq	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w26, w27
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	ldr	w9, [x8]
	cmp	w9, w28
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24]
	mov	x0, x21
	bl	_b43_phy_read
Lloh11:
	adrp	x8, _B43_NPHY_TABLE_ADDR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B43_NPHY_TABLE_ADDR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_b43_phy_write
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #130
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #129
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #128
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w23, [x19], #4
	and	w0, w23, #0xffffff00
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w23, [x19], #8
	and	w0, w23, #0xffff0000
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_B43_WARN_ON
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x23
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_B43_WARN_ON
	b	LBB0_4
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_NTAB_TYPEMASK,4,2          ; @B43_NTAB_TYPEMASK
	.comm	_B43_NPHY_TABLE_ADDR,4,2        ; @B43_NPHY_TABLE_ADDR
	.comm	_B43_NPHY_TABLE_DATALO,4,2      ; @B43_NPHY_TABLE_DATALO
	.comm	_B43_NPHY_TABLE_DATAHI,4,2      ; @B43_NPHY_TABLE_DATAHI
.subsections_via_symbols
