	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_phy_init_tssi2dbm_table ## -- Begin function b43legacy_phy_init_tssi2dbm_table
	.p2align	4, 0x90
_b43legacy_phy_init_tssi2dbm_table:     ## @b43legacy_phy_init_tssi2dbm_table
	.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	%rdi, %r14
	movl	16(%rdi), %eax
	andl	$-2, %eax
	xorl	%edi, %edi
	cmpl	$128, %eax
	setne	%dil
	callq	_B43legacy_WARN_ON
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	32(%rax), %r13d
	movl	24(%rax), %r15d
	movl	16(%rax), %r12d
	cmpl	$17153, (%rax)                  ## imm = 0x4301
	jne	LBB0_3
## %bb.1:
	cmpl	$8272, 20(%r14)                 ## imm = 0x2050
	jne	LBB0_2
LBB0_3:
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.4:
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.5:
	testl	%r12d, %r12d
	je	LBB0_19
## %bb.6:
	cmpl	$-1, %r13d
	je	LBB0_19
## %bb.7:
	cmpl	$-1, %r15d
	je	LBB0_19
## %bb.8:
	cmpl	$-1, %r12d
	je	LBB0_19
## %bb.9:
	movq	8(%rax), %rax
	movl	$62, %ecx
	leaq	1(%rax), %rdx
	cmpq	$2, %rdx
	jb	LBB0_11
## %bb.10:
	movl	%eax, %ecx
LBB0_11:
	movl	%ecx, 24(%r14)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	callq	_b43legacy_tssi2dbm_entry
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	incl	%r14d
	cmpl	$64, %r14d
	jne	LBB0_16
## %bb.18:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, 32(%rax)
	movl	$1, 40(%rax)
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_19:
	movl	16(%r14), %ecx
	xorl	%eax, %eax
	cmpl	$128, %ecx
	je	LBB0_22
## %bb.20:
	cmpl	$129, %ecx
	jne	LBB0_24
## %bb.21:
	movl	$52, 24(%r14)
	movq	_b43legacy_tssi2dbm_b_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_2:
	movl	$52, 24(%r14)
	movq	_b43legacy_tssi2dbm_b_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_13:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43legacyerr
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 32(%rax)
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_b43legacyerr
	movq	%rbx, %rdi
	callq	_kfree
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_14:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_24
LBB0_22:
	movl	$52, 24(%r14)
	movq	_b43legacy_tssi2dbm_g_table@GOTPCREL(%rip), %rcx
LBB0_23:
	movq	(%rcx), %rcx
	movq	%rcx, 32(%r14)
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_b43legacy_tssi2dbm_b_table,8,3 ## @b43legacy_tssi2dbm_b_table
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not allocate memory for tssi2dbm table\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Could not generate tssi2dBm table\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_b43legacy_tssi2dbm_g_table,8,3 ## @b43legacy_tssi2dbm_g_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_phy_init_tssi2dbm_table ; -- Begin function b43legacy_phy_init_tssi2dbm_table
	.p2align	2
_b43legacy_phy_init_tssi2dbm_table:     ; @b43legacy_phy_init_tssi2dbm_table
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w8, [x0, #16]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	cset	w0, ne
	bl	_B43legacy_WARN_ON
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w20, [x8, #32]
	ldr	w21, [x8, #24]
	ldr	w22, [x8, #16]
	ldr	w9, [x8]
	mov	w10, #17153
	cmp	w9, w10
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x19, #20]
	mov	w10, #8272
	cmp	w9, w10
	b.ne	LBB0_5
LBB0_2:
	cmp	w20, #0
	ccmp	w21, #0, #4, ne
	ccmp	w22, #0, #4, ne
	ccmn	w20, #1, #4, ne
	ccmn	w21, #1, #4, ne
	ccmn	w22, #1, #4, ne
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x19, #16]
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_14
LBB0_5:
	mov	w0, #0
	mov	w8, #52
	str	w8, [x19, #24]
Lloh0:
	adrp	x8, _b43legacy_tssi2dbm_b_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _b43legacy_tssi2dbm_b_table@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	ldr	x8, [x8, #8]
	mov	w9, #62
	add	x10, x8, #1
	cmp	x10, #2
	csel	w8, w9, w8, lo
	str	w8, [x19, #24]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kmalloc
	cbz	x0, LBB0_11
; %bb.7:
	mov	x23, x0
	mov	w24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x24
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_b43legacy_tssi2dbm_entry
	cbnz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w24, #1
	cmp	w24, #64
	b.ne	LBB0_8
; %bb.10:
	mov	w0, #0
	str	x23, [x19, #32]
	mov	w8, #1
	str	w8, [x19, #40]
	b	LBB0_17
LBB0_11:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43legacyerr
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
	mov	w0, #0
	mov	w8, #52
	str	w8, [x19, #24]
Lloh9:
	adrp	x8, _b43legacy_tssi2dbm_g_table@GOTPAGE
Lloh10:
	ldr	x8, [x8, _b43legacy_tssi2dbm_g_table@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	b	LBB0_17
LBB0_14:
	mov	w0, #0
	b	LBB0_17
LBB0_15:
	str	xzr, [x19, #32]
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_b43legacyerr
	mov	x0, x23
	bl	_kfree
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_b43legacy_tssi2dbm_b_table,8,3 ; @b43legacy_tssi2dbm_b_table
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not allocate memory for tssi2dbm table\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Could not generate tssi2dBm table\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_b43legacy_tssi2dbm_g_table,8,3 ; @b43legacy_tssi2dbm_g_table
.subsections_via_symbols
