	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_hardware_pctl_early_init
_b43_hardware_pctl_early_init:          ## @b43_hardware_pctl_early_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_b43_has_hardware_pctl
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	movl	$54, %esi
	movl	$65279, %edx                    ## imm = 0xFEFF
	callq	_b43_phy_mask
	movq	%rbx, %rdi
	movl	$47, %esi
	movl	$514, %edx                      ## imm = 0x202
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$1148, %esi                     ## imm = 0x47C
	movl	$2, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$1146, %esi                     ## imm = 0x47A
	movl	$61440, %edx                    ## imm = 0xF000
	callq	_b43_phy_set
	cmpl	$8272, (%rbx)                   ## imm = 0x2050
	jne	LBB0_3
## %bb.2:
	cmpl	$8, 4(%rbx)
	jne	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	movl	$1146, %esi                     ## imm = 0x47A
	movl	$65295, %edx                    ## imm = 0xFF0F
	movl	$16, %ecx
	callq	_b43_phy_maskset
	movq	%rbx, %rdi
	movl	$93, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$78, %esi
	movl	$65472, %edx                    ## imm = 0xFFC0
	movl	$16, %ecx
	callq	_b43_phy_maskset
	movq	%rbx, %rdi
	movl	$46, %esi
	movl	$49279, %edx                    ## imm = 0xC07F
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$54, %esi
	movl	$1024, %edx                     ## imm = 0x400
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_set                    ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	movl	$54, %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$54, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$93, %esi
	movl	$32767, %edx                    ## imm = 0x7FFF
	callq	_b43_phy_mask
	movq	%rbx, %rdi
	movl	$79, %esi
	movl	$65534, %edx                    ## imm = 0xFFFE
	callq	_b43_phy_mask
	movq	%rbx, %rdi
	movl	$78, %esi
	movl	$65472, %edx                    ## imm = 0xFFC0
	movl	$16, %ecx
	callq	_b43_phy_maskset
	movq	%rbx, %rdi
	movl	$46, %esi
	movl	$49279, %edx                    ## imm = 0xC07F
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$1146, %esi                     ## imm = 0x47A
	movl	$65295, %edx                    ## imm = 0xFF0F
	movl	$16, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_maskset                ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	movl	$1146, %esi                     ## imm = 0x47A
	movl	$49425, %edx                    ## imm = 0xC111
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43_hardware_pctl_early_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_hardware_pctl_early_init
_b43_hardware_pctl_early_init:          ; @b43_hardware_pctl_early_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_b43_has_hardware_pctl
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	w1, #54
	mov	w2, #65279
	bl	_b43_phy_mask
	mov	x0, x19
	mov	w1, #47
	mov	w2, #514
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1148
	mov	w2, #2
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #1146
	mov	w2, #61440
	bl	_b43_phy_set
	ldr	w8, [x19]
	mov	w9, #8272
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x19, #4]
	cmp	w8, #8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #1146
	mov	w2, #65295
	mov	w3, #16
	bl	_b43_phy_maskset
	mov	x0, x19
	mov	w1, #93
	mov	w2, #32768
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #78
	mov	w2, #65472
	mov	w3, #16
	bl	_b43_phy_maskset
	mov	x0, x19
	mov	w1, #46
	mov	w2, #49279
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #54
	mov	w2, #1024
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_set
LBB0_4:
	mov	x0, x19
	mov	w1, #54
	mov	w2, #512
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #54
	mov	w2, #1024
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #93
	mov	w2, #32767
	bl	_b43_phy_mask
	mov	x0, x19
	mov	w1, #79
	mov	w2, #65534
	bl	_b43_phy_mask
	mov	x0, x19
	mov	w1, #78
	mov	w2, #65472
	mov	w3, #16
	bl	_b43_phy_maskset
	mov	x0, x19
	mov	w1, #46
	mov	w2, #49279
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1146
	mov	w2, #65295
	mov	w3, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_maskset
LBB0_5:
	mov	x0, x19
	mov	w1, #1146
	mov	w2, #49425
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_write
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43_hardware_pctl_early_init
.subsections_via_symbols
