	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_httab_write_bulk           ## -- Begin function b43_httab_write_bulk
	.p2align	4, 0x90
_b43_httab_write_bulk:                  ## @b43_httab_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
	pushq	%rax
	.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, %ebx
	movq	%rdi, %r15
	movq	_B43_HTTAB_TYPEMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r13d, %r12d
	notl	%r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	andl	%esi, %r12d
	xorl	%edi, %edi
	cmpl	$65536, %r12d                   ## imm = 0x10000
	setge	%dil
	callq	_B43_WARN_ON
	movq	_B43_PHY_HT_TABLE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_b43_phy_write
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.1:
	andl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %r12d
	addq	$16, %r14
	movq	_B43_PHY_HT_TABLE_DATAHI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	sarl	$16, %edx
	movq	%r15, %rdi
	callq	_b43_phy_write
	movq	_B43_PHY_HT_TABLE_DATALO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%r12w, %edx
	movq	%r15, %rdi
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_b43_phy_write
	decl	%ebx
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$130, %r13d
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %r13d
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$128, %r13d
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %r12d
	addq	$4, %r14
	movl	%r12d, %edi
	andl	$-256, %edi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %r12d
	addq	$8, %r14
	movl	%r12d, %edi
	andl	$-65536, %edi                   ## imm = 0xFFFF0000
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_B43_WARN_ON
	movq	_B43_PHY_HT_TABLE_DATALO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_B43_WARN_ON
	decl	%ebx
	jne	LBB0_5
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_HTTAB_TYPEMASK,4,2         ## @B43_HTTAB_TYPEMASK
	.comm	_B43_PHY_HT_TABLE_ADDR,4,2      ## @B43_PHY_HT_TABLE_ADDR
	.comm	_B43_PHY_HT_TABLE_DATALO,4,2    ## @B43_PHY_HT_TABLE_DATALO
	.comm	_B43_PHY_HT_TABLE_DATAHI,4,2    ## @B43_PHY_HT_TABLE_DATAHI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_httab_write_bulk           ; -- Begin function b43_httab_write_bulk
	.p2align	2
_b43_httab_write_bulk:                  ; @b43_httab_write_bulk
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _B43_HTTAB_TYPEMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_HTTAB_TYPEMASK@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	bic	w23, w1, w24
	cmp	w23, #16, lsl #12               ; =65536
	cset	w0, ge
	bl	_B43_WARN_ON
Lloh3:
	adrp	x8, _B43_PHY_HT_TABLE_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_PHY_HT_TABLE_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x23
	bl	_b43_phy_write
	cbz	w20, LBB0_11
; %bb.1:
	and	w23, w24, w22
Lloh6:
	adrp	x24, _B43_PHY_HT_TABLE_DATALO@GOTPAGE
Lloh7:
	ldr	x24, [x24, _B43_PHY_HT_TABLE_DATALO@GOTPAGEOFF]
Lloh8:
	adrp	x25, _B43_PHY_HT_TABLE_DATAHI@GOTPAGE
Lloh9:
	ldr	x25, [x25, _B43_PHY_HT_TABLE_DATAHI@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w22, [x19], #16
	ldr	w1, [x25]
	asr	w2, w22, #16
	mov	x0, x21
	bl	_b43_phy_write
	ldr	w1, [x24]
	and	w2, w22, #0xffff
	mov	x0, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_b43_phy_write
	subs	w20, w20, #1
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w23, #130
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #129
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #128
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w22, [x19], #4
	and	w0, w22, #0xffffff00
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w22, [x19], #8
	and	w0, w22, #0xffff0000
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_B43_WARN_ON
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x22
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_B43_WARN_ON
	subs	w20, w20, #1
	b.ne	LBB0_4
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_HTTAB_TYPEMASK,4,2         ; @B43_HTTAB_TYPEMASK
	.comm	_B43_PHY_HT_TABLE_ADDR,4,2      ; @B43_PHY_HT_TABLE_ADDR
	.comm	_B43_PHY_HT_TABLE_DATALO,4,2    ; @B43_PHY_HT_TABLE_DATALO
	.comm	_B43_PHY_HT_TABLE_DATAHI,4,2    ; @B43_PHY_HT_TABLE_DATAHI
.subsections_via_symbols
