	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_tables_init_rev7_volatile
_b43_nphy_tables_init_rev7_volatile:    ## @b43_nphy_tables_init_rev7_volatile
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_values+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_values(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	(%rdi), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	(%rbx,%rdx,4), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.9:
	movl	(%r15), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str(%rip), %rsi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43err                         ## TAILCALL
LBB0_1:
	leaq	-64(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	leaq	l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets(%rip), %r12
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	$9, %edi
	callq	_B43_NTAB8
	movl	-64(%rbp,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_write
	incq	%rbx
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	leaq	-64(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	leaq	l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets(%rip), %r12
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	addl	$32, %esi
	movl	$9, %edi
	callq	_B43_NTAB8
	movl	-52(%rbp,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_write
	incq	%rbx
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets
l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets:
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	8                               ## 0x8

	.p2align	4                               ## @__const.b43_nphy_tables_init_rev7_volatile.antswlut0_values
l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_values:
	.long	2                               ## 0x2
	.long	18                              ## 0x12
	.long	8                               ## 0x8
	.long	2                               ## 0x2
	.long	24                              ## 0x18
	.long	2                               ## 0x2

	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported antswlut: %d\n"

	.no_dead_strip	_b43_nphy_tables_init_rev7_volatile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_nphy_tables_init_rev7_volatile
_b43_nphy_tables_init_rev7_volatile:    ; @b43_nphy_tables_init_rev7_volatile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_values@PAGE
Lloh4:
	add	x9, x9, l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_values@PAGEOFF
	ldr	x20, [x8]
	ldr	q0, [x9]
	str	q0, [sp]
	ldr	x8, [x9, #16]
	str	x8, [sp, #16]
	ldr	w0, [x0]
	bl	_b43_current_band
Lloh5:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w8, eq
	ldr	w2, [x20, w8, uxtw #2]
	cbz	w2, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.2:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	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
	add	sp, sp, #96
	b	_b43err
LBB0_3:
	mov	x21, sp
	mov	x0, sp
	bl	_ARRAY_SIZE
Lloh13:
	adrp	x20, l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets@PAGE
Lloh14:
	add	x20, x20, l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets@PAGEOFF
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x23, x22, #2
	ldr	w1, [x20, x23]
	mov	w0, #9
	bl	_B43_NTAB8
	mov	x1, x0
	ldr	w2, [x21, x23]
	mov	x0, x19
	bl	_b43_ntab_write
	add	x22, x22, #1
	mov	x0, sp
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	mov	x22, sp
	mov	x0, sp
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
	orr	x22, x22, #0xc
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x23, x21, #2
	ldr	w8, [x20, x23]
	add	w1, w8, #32
	mov	w0, #9
	bl	_B43_NTAB8
	mov	x1, x0
	ldr	w2, [x22, x23]
	mov	x0, x19
	bl	_b43_ntab_write
	add	x21, x21, #1
	mov	x0, sp
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_8
LBB0_9:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	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
	add	sp, sp, #96
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets
l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_offsets:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	8                               ; 0x8

	.p2align	2                               ; @__const.b43_nphy_tables_init_rev7_volatile.antswlut0_values
l___const.b43_nphy_tables_init_rev7_volatile.antswlut0_values:
	.long	2                               ; 0x2
	.long	18                              ; 0x12
	.long	8                               ; 0x8
	.long	2                               ; 0x2
	.long	24                              ; 0x18
	.long	2                               ; 0x2

	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported antswlut: %d\n"

	.no_dead_strip	_b43_nphy_tables_init_rev7_volatile
.subsections_via_symbols
