	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_chip_init
_b43legacy_chip_init:                   ## @b43legacy_chip_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_B43legacy_MACCTL_IHR_ENABLED@GOTPCREL(%rip), %rax
	movq	_B43legacy_MACCTL_SHM_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rdi, %r14
	xorl	%eax, %eax
	cmpq	$0, 40(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_B43legacy_MACCTL_GMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%eax, %edx
	movq	_B43legacy_MACCTL_INFRA@GOTPCREL(%rip), %r15
	orl	(%r15), %edx
	movq	_B43legacy_MMIO_MACCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_b43legacy_write32
	movq	%r14, %rdi
	callq	_b43legacy_upload_microcode
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.3:
	movq	%r14, %rdi
	callq	_b43legacy_gpio_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.4:
	movq	%r14, %rdi
	callq	_b43legacy_upload_initvals
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.5:
	movq	%r14, %rdi
	callq	_b43legacy_radio_turn_on
	movq	%r14, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	xorl	%edx, %edx
	callq	_b43legacy_write16
	movq	%r14, %rdi
	callq	_b43legacy_phy_init
	testl	%eax, %eax
	je	LBB0_6
## %bb.17:
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_b43legacy_radio_turn_off
LBB0_18:
	movq	%r14, %rdi
	callq	_b43legacy_gpio_cleanup
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	16(%r14), %esi
	movq	_B43legacy_INTERFMODE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	_b43legacy_radio_set_interference_mitigation
	movq	%r14, %rdi
	callq	_b43legacy_phy_set_antenna_diversity
	movq	_B43legacy_ANTENNA_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43legacy_mgmtframe_txantenna
	movq	24(%r14), %rax
	movq	_B43legacy_PHYTYPE_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movl	$94, %esi
	callq	_b43legacy_read16
	orl	$4, %eax
	movq	%r14, %rdi
	movl	$94, %esi
	movl	%eax, %edx
	callq	_b43legacy_write16
LBB0_8:
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_b43legacy_write32
	movq	8(%r14), %rax
	cmpl	$4, 8(%rax)
	jg	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movl	$268, %esi                      ## imm = 0x10C
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_b43legacy_write32
LBB0_10:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_b43legacy_read32
	movl	(%r15), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_b43legacy_write32
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_b43legacy_read32
	orl	(%r15), %eax
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_b43legacy_write32
	movq	%r14, %rdi
	callq	_b43legacy_using_pio
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movl	$528, %esi                      ## imm = 0x210
	movl	$256, %edx                      ## imm = 0x100
	callq	_b43legacy_write32
	movq	%r14, %rdi
	movl	$560, %esi                      ## imm = 0x230
	movl	$256, %edx                      ## imm = 0x100
	callq	_b43legacy_write32
	movq	%r14, %rdi
	movl	$592, %esi                      ## imm = 0x250
	movl	$256, %edx                      ## imm = 0x100
	callq	_b43legacy_write32
	movq	%r14, %rdi
	movl	$624, %esi                      ## imm = 0x270
	movl	$256, %edx                      ## imm = 0x100
	callq	_b43legacy_write32
	movq	_B43legacy_SHM_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$52, %edx
	xorl	%ecx, %ecx
	callq	_b43legacy_shm_write16
LBB0_12:
	movq	_B43legacy_SHM_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$116, %edx
	xorl	%ecx, %ecx
	callq	_b43legacy_shm_write16
	movq	%r14, %rdi
	callq	_b43legacy_adjust_opmode
	movq	8(%r14), %rax
	cmpl	$2, 8(%rax)
	jg	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	movl	$1550, %esi                     ## imm = 0x60E
	xorl	%edx, %edx
	callq	_b43legacy_write16
	movq	%r14, %rdi
	movl	$1552, %esi                     ## imm = 0x610
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_b43legacy_write16
	movq	%r14, %rdi
	movl	$1540, %esi                     ## imm = 0x604
	xorl	%edx, %edx
	callq	_b43legacy_write16
	movq	%r14, %rdi
	movl	$1542, %esi                     ## imm = 0x606
	movl	$512, %edx                      ## imm = 0x200
	callq	_b43legacy_write16
	jmp	LBB0_15
LBB0_14:
	movq	%r14, %rdi
	movl	$392, %esi                      ## imm = 0x188
	movl	$-2147483648, %edx              ## imm = 0x80000000
	callq	_b43legacy_write32
	movq	%r14, %rdi
	movl	$396, %esi                      ## imm = 0x18C
	movl	$33554432, %edx                 ## imm = 0x2000000
	callq	_b43legacy_write32
LBB0_15:
	movq	_B43legacy_MMIO_GEN_IRQ_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_b43legacy_write32
	movq	_B43legacy_MMIO_DMA0_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$121856, %edx                   ## imm = 0x1DC00
	callq	_b43legacy_write32
	movq	_B43legacy_MMIO_DMA1_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$56320, %edx                    ## imm = 0xDC00
	callq	_b43legacy_write32
	movq	_B43legacy_MMIO_DMA2_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$56320, %edx                    ## imm = 0xDC00
	callq	_b43legacy_write32
	movq	_B43legacy_MMIO_DMA3_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$121856, %edx                   ## imm = 0x1DC00
	callq	_b43legacy_write32
	movq	_B43legacy_MMIO_DMA4_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$56320, %edx                    ## imm = 0xDC00
	callq	_b43legacy_write32
	movq	_B43legacy_MMIO_DMA5_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$56320, %edx                    ## imm = 0xDC00
	callq	_b43legacy_write32
	movq	8(%r14), %rdi
	movq	_SSB_TMSLOW@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_ssb_read32
	movq	_B43legacy_TMSLOW_MACPHYCLKEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	8(%r14), %rdi
	movl	(%rbx), %esi
	movl	%eax, %edx
	callq	_ssb_write32
	movq	_B43legacy_MMIO_POWERUP_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_b43legacy_write16
	leaq	32(%r14), %rdi
	movq	_B43legacy_PHY_TX_BADNESS_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_atomic_set
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_B43legacy_WARN_ON
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43legacydbg
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_MACCTL_IHR_ENABLED,4,2 ## @B43legacy_MACCTL_IHR_ENABLED
	.comm	_B43legacy_MACCTL_SHM_ENABLED,4,2 ## @B43legacy_MACCTL_SHM_ENABLED
	.comm	_B43legacy_MACCTL_GMODE,4,2     ## @B43legacy_MACCTL_GMODE
	.comm	_B43legacy_MACCTL_INFRA,4,2     ## @B43legacy_MACCTL_INFRA
	.comm	_B43legacy_MMIO_MACCTL,4,2      ## @B43legacy_MMIO_MACCTL
	.comm	_B43legacy_INTERFMODE_NONE,4,2  ## @B43legacy_INTERFMODE_NONE
	.comm	_B43legacy_ANTENNA_DEFAULT,4,2  ## @B43legacy_ANTENNA_DEFAULT
	.comm	_B43legacy_PHYTYPE_B,8,3        ## @B43legacy_PHYTYPE_B
	.comm	_B43legacy_SHM_SHARED,4,2       ## @B43legacy_SHM_SHARED
	.comm	_B43legacy_MMIO_GEN_IRQ_REASON,4,2 ## @B43legacy_MMIO_GEN_IRQ_REASON
	.comm	_B43legacy_MMIO_DMA0_IRQ_MASK,4,2 ## @B43legacy_MMIO_DMA0_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA1_IRQ_MASK,4,2 ## @B43legacy_MMIO_DMA1_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA2_IRQ_MASK,4,2 ## @B43legacy_MMIO_DMA2_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA3_IRQ_MASK,4,2 ## @B43legacy_MMIO_DMA3_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA4_IRQ_MASK,4,2 ## @B43legacy_MMIO_DMA4_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA5_IRQ_MASK,4,2 ## @B43legacy_MMIO_DMA5_IRQ_MASK
	.comm	_SSB_TMSLOW,4,2                 ## @SSB_TMSLOW
	.comm	_B43legacy_TMSLOW_MACPHYCLKEN,4,2 ## @B43legacy_TMSLOW_MACPHYCLKEN
	.comm	_B43legacy_MMIO_POWERUP_DELAY,4,2 ## @B43legacy_MMIO_POWERUP_DELAY
	.comm	_B43legacy_PHY_TX_BADNESS_LIMIT,4,2 ## @B43legacy_PHY_TX_BADNESS_LIMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Chip initialized\n"

	.no_dead_strip	_b43legacy_chip_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_chip_init
_b43legacy_chip_init:                   ; @b43legacy_chip_init
	.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, x0
Lloh0:
	adrp	x8, _B43legacy_MACCTL_IHR_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_MACCTL_IHR_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _B43legacy_MACCTL_SHM_ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B43legacy_MACCTL_SHM_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _B43legacy_MACCTL_GMODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _B43legacy_MACCTL_GMODE@GOTPAGEOFF]
	ldr	x10, [x0, #40]
Lloh8:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
Lloh9:
	adrp	x21, _B43legacy_MACCTL_INFRA@GOTPAGE
Lloh10:
	ldr	x21, [x21, _B43legacy_MACCTL_INFRA@GOTPAGEOFF]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w2, w8, w9
Lloh11:
	adrp	x22, _B43legacy_MMIO_MACCTL@GOTPAGE
Lloh12:
	ldr	x22, [x22, _B43legacy_MMIO_MACCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_b43legacy_write32
	mov	x0, x19
	bl	_b43legacy_upload_microcode
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_b43legacy_gpio_init
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_b43legacy_upload_initvals
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_b43legacy_radio_turn_on
	mov	x0, x19
	mov	w1, #998
	mov	w2, #0
	bl	_b43legacy_write16
	mov	x0, x19
	bl	_b43legacy_phy_init
	cbz	w0, LBB0_7
; %bb.4:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #1
	bl	_b43legacy_radio_turn_off
LBB0_5:
	mov	x0, x19
	bl	_b43legacy_gpio_cleanup
LBB0_6:
	mov	x0, x20
	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
	ret
LBB0_7:
	ldr	w1, [x19, #16]
Lloh13:
	adrp	x8, _B43legacy_INTERFMODE_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _B43legacy_INTERFMODE_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_b43legacy_radio_set_interference_mitigation
	mov	x0, x19
	bl	_b43legacy_phy_set_antenna_diversity
Lloh16:
	adrp	x8, _B43legacy_ANTENNA_DEFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B43legacy_ANTENNA_DEFAULT@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43legacy_mgmtframe_txantenna
	ldr	x8, [x19, #24]
Lloh19:
	adrp	x9, _B43legacy_PHYTYPE_B@GOTPAGE
Lloh20:
	ldr	x9, [x9, _B43legacy_PHYTYPE_B@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #94
	bl	_b43legacy_read16
	orr	w2, w0, #0x4
	mov	x0, x19
	mov	w1, #94
	bl	_b43legacy_write16
LBB0_9:
	mov	x0, x19
	mov	w1, #256
	mov	w2, #16777216
	bl	_b43legacy_write32
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #8]
	cmp	w8, #4
	b.gt	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #268
	mov	w2, #16777216
	bl	_b43legacy_write32
LBB0_11:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43legacy_read32
	ldr	w8, [x21]
	bic	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43legacy_write32
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43legacy_read32
	ldr	w8, [x21]
	orr	w2, w8, w0
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43legacy_write32
	mov	x0, x19
	bl	_b43legacy_using_pio
Lloh22:
	adrp	x20, _B43legacy_SHM_SHARED@GOTPAGE
Lloh23:
	ldr	x20, [x20, _B43legacy_SHM_SHARED@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	w1, #528
	mov	w2, #256
	bl	_b43legacy_write32
	mov	x0, x19
	mov	w1, #560
	mov	w2, #256
	bl	_b43legacy_write32
	mov	x0, x19
	mov	w1, #592
	mov	w2, #256
	bl	_b43legacy_write32
	mov	x0, x19
	mov	w1, #624
	mov	w2, #256
	bl	_b43legacy_write32
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #52
	mov	w3, #0
	bl	_b43legacy_shm_write16
LBB0_13:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #116
	mov	w3, #0
	bl	_b43legacy_shm_write16
	mov	x0, x19
	bl	_b43legacy_adjust_opmode
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #8]
	mov	x0, x19
	cmp	w8, #2
	b.gt	LBB0_15
; %bb.14:
	mov	w1, #1550
	mov	w2, #0
	bl	_b43legacy_write16
	mov	x0, x19
	mov	w1, #1552
	mov	w2, #32768
	bl	_b43legacy_write16
	mov	x0, x19
	mov	w1, #1540
	mov	w2, #0
	bl	_b43legacy_write16
	mov	x0, x19
	mov	w1, #1542
	mov	w2, #512
	bl	_b43legacy_write16
	b	LBB0_16
LBB0_15:
	mov	w1, #392
	mov	w2, #-2147483648
	bl	_b43legacy_write32
	mov	x0, x19
	mov	w1, #396
	mov	w2, #33554432
	bl	_b43legacy_write32
LBB0_16:
Lloh24:
	adrp	x8, _B43legacy_MMIO_GEN_IRQ_REASON@GOTPAGE
Lloh25:
	ldr	x8, [x8, _B43legacy_MMIO_GEN_IRQ_REASON@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16384
	bl	_b43legacy_write32
Lloh27:
	adrp	x8, _B43legacy_MMIO_DMA0_IRQ_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _B43legacy_MMIO_DMA0_IRQ_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #56320
	movk	w2, #1, lsl #16
	bl	_b43legacy_write32
Lloh30:
	adrp	x8, _B43legacy_MMIO_DMA1_IRQ_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _B43legacy_MMIO_DMA1_IRQ_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #56320
	bl	_b43legacy_write32
Lloh33:
	adrp	x8, _B43legacy_MMIO_DMA2_IRQ_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _B43legacy_MMIO_DMA2_IRQ_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #56320
	bl	_b43legacy_write32
Lloh36:
	adrp	x8, _B43legacy_MMIO_DMA3_IRQ_MASK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _B43legacy_MMIO_DMA3_IRQ_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #56320
	movk	w2, #1, lsl #16
	bl	_b43legacy_write32
Lloh39:
	adrp	x8, _B43legacy_MMIO_DMA4_IRQ_MASK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _B43legacy_MMIO_DMA4_IRQ_MASK@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #56320
	bl	_b43legacy_write32
Lloh42:
	adrp	x8, _B43legacy_MMIO_DMA5_IRQ_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _B43legacy_MMIO_DMA5_IRQ_MASK@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #56320
	bl	_b43legacy_write32
	ldr	x0, [x19, #8]
Lloh45:
	adrp	x20, _SSB_TMSLOW@GOTPAGE
Lloh46:
	ldr	x20, [x20, _SSB_TMSLOW@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_ssb_read32
Lloh47:
	adrp	x8, _B43legacy_TMSLOW_MACPHYCLKEN@GOTPAGE
Lloh48:
	ldr	x8, [x8, _B43legacy_TMSLOW_MACPHYCLKEN@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	x0, [x19, #8]
	ldr	w1, [x20]
	bl	_ssb_write32
Lloh50:
	adrp	x8, _B43legacy_MMIO_POWERUP_DELAY@GOTPAGE
Lloh51:
	ldr	x8, [x8, _B43legacy_MMIO_POWERUP_DELAY@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_b43legacy_write16
	add	x0, x19, #32
Lloh53:
	adrp	x8, _B43legacy_PHY_TX_BADNESS_LIMIT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _B43legacy_PHY_TX_BADNESS_LIMIT@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	bl	_atomic_set
	mov	w0, #0
	bl	_B43legacy_WARN_ON
	ldr	w0, [x19]
Lloh56:
	adrp	x1, l_.str@PAGE
Lloh57:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43legacydbg
	mov	w20, #0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_MACCTL_IHR_ENABLED,4,2 ; @B43legacy_MACCTL_IHR_ENABLED
	.comm	_B43legacy_MACCTL_SHM_ENABLED,4,2 ; @B43legacy_MACCTL_SHM_ENABLED
	.comm	_B43legacy_MACCTL_GMODE,4,2     ; @B43legacy_MACCTL_GMODE
	.comm	_B43legacy_MACCTL_INFRA,4,2     ; @B43legacy_MACCTL_INFRA
	.comm	_B43legacy_MMIO_MACCTL,4,2      ; @B43legacy_MMIO_MACCTL
	.comm	_B43legacy_INTERFMODE_NONE,4,2  ; @B43legacy_INTERFMODE_NONE
	.comm	_B43legacy_ANTENNA_DEFAULT,4,2  ; @B43legacy_ANTENNA_DEFAULT
	.comm	_B43legacy_PHYTYPE_B,8,3        ; @B43legacy_PHYTYPE_B
	.comm	_B43legacy_SHM_SHARED,4,2       ; @B43legacy_SHM_SHARED
	.comm	_B43legacy_MMIO_GEN_IRQ_REASON,4,2 ; @B43legacy_MMIO_GEN_IRQ_REASON
	.comm	_B43legacy_MMIO_DMA0_IRQ_MASK,4,2 ; @B43legacy_MMIO_DMA0_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA1_IRQ_MASK,4,2 ; @B43legacy_MMIO_DMA1_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA2_IRQ_MASK,4,2 ; @B43legacy_MMIO_DMA2_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA3_IRQ_MASK,4,2 ; @B43legacy_MMIO_DMA3_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA4_IRQ_MASK,4,2 ; @B43legacy_MMIO_DMA4_IRQ_MASK
	.comm	_B43legacy_MMIO_DMA5_IRQ_MASK,4,2 ; @B43legacy_MMIO_DMA5_IRQ_MASK
	.comm	_SSB_TMSLOW,4,2                 ; @SSB_TMSLOW
	.comm	_B43legacy_TMSLOW_MACPHYCLKEN,4,2 ; @B43legacy_TMSLOW_MACPHYCLKEN
	.comm	_B43legacy_MMIO_POWERUP_DELAY,4,2 ; @B43legacy_MMIO_POWERUP_DELAY
	.comm	_B43legacy_PHY_TX_BADNESS_LIMIT,4,2 ; @B43legacy_PHY_TX_BADNESS_LIMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Chip initialized\n"

	.no_dead_strip	_b43legacy_chip_init
.subsections_via_symbols
