	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiphy_register                 ## -- Begin function wiphy_register
	.p2align	4, 0x90
_wiphy_register:                        ## @wiphy_register
	.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, %r15
	callq	_wiphy_to_dev
	movq	%rax, %r14
	cmpq	$0, 48(%r15)
	je	LBB0_1
## %bb.2:
	movq	_WIPHY_FLAG_HAVE_AP_SME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	sete	%al
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movl	(%r15), %r12d
	movzbl	%al, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	cmpq	$0, 16(%r15)
	je	LBB0_6
## %bb.7:
	cmpl	$0, 40(%r15)
	sete	%al
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movzbl	%al, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_4
## %bb.9:
	xorl	%ebx, %ebx
	cmpq	$0, 16(%r15)
	je	LBB0_12
## %bb.10:
	movl	24(%r15), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movl	24(%r15), %edi
	movq	16(%r15), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_12:
	movl	%ebx, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_4
## %bb.13:
	cmpq	$0, 32(%r15)
	je	LBB0_14
## %bb.15:
	movq	_WIPHY_FLAG_HAVE_AP_SME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_16
## %bb.17:
	movq	56(%r14), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	jmp	LBB0_18
LBB0_14:
	xorl	%edi, %edi
	jmp	LBB0_18
LBB0_16:
	movl	$1, %edi
LBB0_18:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_19
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_51:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	24(%r15), %edi
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
LBB0_21:
	xorl	%edi, %edi
	testl	%r12d, %r12d
	sete	%dil
	callq	_WARN_ON
	movq	_NUM_NL80211_IFTYPES@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-1, %ebx
	shll	%cl, %ebx
	notl	%ebx
	andl	%r12d, %ebx
	andl	$-2, %ebx
	xorl	%edi, %edi
	cmpl	(%r15), %ebx
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	%ebx, (%r15)
LBB0_23:
	movq	%r15, %rdi
	callq	_wiphy_verify_combinations
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_51
## %bb.24:
	movq	_IEEE80211_NUM_BANDS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_42
## %bb.25:
	xorl	%ebx, %ebx
	movq	_INT_MAX@GOTPCREL(%rip), %r13
	xorl	%r8d, %r8d
	jmp	LBB0_26
LBB0_40:                                ##   in Loop: Header=BB0_26 Depth=1
	incq	%rbx
	movq	_IEEE80211_NUM_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jae	LBB0_41
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_39 Depth 2
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %r12
	testq	%r12, %r12
	je	LBB0_40
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	%ebx, (%r12)
	xorl	%edi, %edi
	cmpl	$0, 4(%r12)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_4
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	_IEEE80211_BAND_60GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	cmpl	$0, 8(%r12)
	sete	%al
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=1
	movzbl	%al, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_4
## %bb.32:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	_cfg80211_disable_40mhz_24ghz@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	_IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jne	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_26 Depth=1
	cmpq	$0, 32(%r12)
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, 24(%r12)
LBB0_36:                                ##   in Loop: Header=BB0_26 Depth=1
	xorl	%edi, %edi
	cmpl	$33, 8(%r12)
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_4
## %bb.37:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	4(%r12), %edx
	movl	$1, %r8d
	testl	%edx, %edx
	jle	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	16(%r12), %rcx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rcx,%rsi), %edi
	movl	16(%rcx,%rsi), %eax
	movl	%eax, 20(%rcx,%rsi)
	movl	(%r13), %eax
	movl	%eax, 12(%rcx,%rsi)
	movl	%edi, 8(%rcx,%rsi)
	movl	%ebx, (%rcx,%rsi)
	addq	$24, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_39
	jmp	LBB0_40
LBB0_41:
	testl	%r8d, %r8d
	je	LBB0_42
## %bb.43:
	movq	%r15, %rdi
	callq	_ieee80211_set_bitrate_flags
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	leaq	16(%r14), %r12
	movq	%r12, %rdi
	callq	_device_add
	testl	%eax, %eax
	je	LBB0_45
## %bb.44:
	movl	%eax, %ebx
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	jmp	LBB0_51
LBB0_42:
	movl	$1, %edi
	callq	_WARN_ON
	jmp	LBB0_4
LBB0_45:
	movq	%r15, %rdi
	callq	_wiphy_regulatory_register
	movq	%r14, %r13
	addq	$48, %r13
	movq	_cfg80211_rdev_list@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_list_add_rcu
	movq	_cfg80211_rdev_list_generation@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r14, %rdi
	callq	_wiphy_name
	movq	_ieee80211_debugfs_dir@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_debugfs_create_dir
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movq	$0, 8(%r14)
LBB0_47:
	movq	_WIPHY_FLAG_CUSTOM_REGULATORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_52
## %bb.48:
	movq	%r14, %rdi
	callq	_cfg80211_debugfs_rdev_add
	movq	_cfg80211_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	52(%r14), %edi
	callq	_rfkill_register
	testl	%eax, %eax
	je	LBB0_50
## %bb.49:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_device_del
	movq	_cfg80211_mutex@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	8(%r14), %rdi
	callq	_debugfs_remove_recursive
	movq	%r13, %rdi
	callq	_list_del_rcu
	movq	%r15, %rdi
	callq	_wiphy_regulatory_deregister
	movq	%r12, %rdi
	callq	_mutex_unlock
	jmp	LBB0_51
LBB0_50:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rtnl_lock
	movl	$1, (%r14)
	xorl	%eax, %eax
	callq	_rtnl_unlock
	jmp	LBB0_51
LBB0_52:
	movq	%r15, %rdi
	callq	_get_wiphy_idx
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_WIPHY_FLAG_HAVE_AP_SME,4,2     ## @WIPHY_FLAG_HAVE_AP_SME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NUM_NL80211_IFTYPES,4,2        ## @NUM_NL80211_IFTYPES
	.comm	_IEEE80211_NUM_BANDS,4,2        ## @IEEE80211_NUM_BANDS
	.comm	_IEEE80211_BAND_60GHZ,4,2       ## @IEEE80211_BAND_60GHZ
	.comm	_cfg80211_disable_40mhz_24ghz,8,3 ## @cfg80211_disable_40mhz_24ghz
	.comm	_IEEE80211_BAND_2GHZ,4,2        ## @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_cfg80211_mutex,4,2             ## @cfg80211_mutex
	.comm	_cfg80211_rdev_list,4,2         ## @cfg80211_rdev_list
	.comm	_cfg80211_rdev_list_generation,4,2 ## @cfg80211_rdev_list_generation
	.comm	_ieee80211_debugfs_dir,4,2      ## @ieee80211_debugfs_dir
	.comm	_WIPHY_FLAG_CUSTOM_REGULATORY,4,2 ## @WIPHY_FLAG_CUSTOM_REGULATORY
	.comm	_NL80211_REGDOM_SET_BY_DRIVER,4,2 ## @NL80211_REGDOM_SET_BY_DRIVER
	.comm	_WIPHY_WOWLAN_GTK_REKEY_FAILURE,4,2 ## @WIPHY_WOWLAN_GTK_REKEY_FAILURE
	.comm	_WIPHY_WOWLAN_SUPPORTS_GTK_REKEY,4,2 ## @WIPHY_WOWLAN_SUPPORTS_GTK_REKEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiphy_register                 ; -- Begin function wiphy_register
	.p2align	2
_wiphy_register:                        ; @wiphy_register
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_wiphy_to_dev
	mov	x20, x0
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldr	w21, [x19]
	bl	_WARN_ON
	cbz	x0, LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w8, [x19, #40]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_4
	b	LBB0_9
LBB0_8:
	mov	w0, #0
	bl	_WARN_ON
	cbnz	x0, LBB0_4
LBB0_9:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	w0, [x19, #24]
	bl	_is_zero_ether_addr
	cbz	w0, LBB0_12
LBB0_11:
	mov	w0, #0
	bl	_WARN_ON
	cbnz	x0, LBB0_4
	b	LBB0_13
LBB0_12:
	ldr	w0, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcmp
	cmp	x0, #0
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_4
LBB0_13:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	w8, [x19, #4]
Lloh9:
	adrp	x9, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.15:
	ldr	x8, [x20, #56]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_18
LBB0_16:
	mov	w0, #0
	b	LBB0_18
LBB0_17:
	mov	w0, #1
LBB0_18:
	bl	_WARN_ON
	cbnz	x0, LBB0_4
; %bb.19:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_21
; %bb.20:
	ldr	w0, [x19, #24]
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_memcpy
LBB0_21:
	cmp	w21, #0
	cset	w0, eq
	bl	_WARN_ON
Lloh15:
	adrp	x8, _NUM_NL80211_IFTYPES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NUM_NL80211_IFTYPES@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w8, w9, w8
	bic	w8, w21, w8
	and	w21, w8, #0xfffffffe
	ldr	w8, [x19]
	cmp	w21, w8
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_23
; %bb.22:
	str	w21, [x19]
LBB0_23:
	mov	x0, x19
	bl	_wiphy_verify_combinations
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.24:
Lloh18:
	adrp	x21, _IEEE80211_NUM_BANDS@GOTPAGE
Lloh19:
	ldr	x21, [x21, _IEEE80211_NUM_BANDS@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_44
; %bb.25:
	mov	x22, #0
	mov	w8, #0
Lloh20:
	adrp	x23, _IEEE80211_BAND_60GHZ@GOTPAGE
Lloh21:
	ldr	x23, [x23, _IEEE80211_BAND_60GHZ@GOTPAGEOFF]
Lloh22:
	adrp	x24, _cfg80211_disable_40mhz_24ghz@GOTPAGE
Lloh23:
	ldr	x24, [x24, _cfg80211_disable_40mhz_24ghz@GOTPAGEOFF]
Lloh24:
	adrp	x25, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh25:
	ldr	x25, [x25, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh26:
	adrp	x26, _INT_MAX@GOTPAGE
Lloh27:
	ldr	x26, [x26, _INT_MAX@GOTPAGEOFF]
Lloh28:
	adrp	x28, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh29:
	ldr	x28, [x28, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
	b	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w8, #1
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x22, x22, #1
	ldr	w9, [x21]
	cmp	x22, x9
	b.hs	LBB0_41
LBB0_28:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_40 Depth 2
	ldr	x9, [x19, #8]
	ldr	x27, [x9, x22, lsl #3]
	cbz	x27, LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	str	w22, [x27]
	ldr	w8, [x27, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_4
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x23]
	cmp	x22, x8
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w0, #0
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x27, #8]
	cmp	w8, #0
	cset	w0, eq
LBB0_33:                                ;   in Loop: Header=BB0_28 Depth=1
	bl	_WARN_ON
	cbnz	x0, LBB0_4
; %bb.34:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x24]
	ldr	w9, [x25]
	cmp	x8, #0
	ccmp	x22, x9, #0, ne
	b.ne	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x27, #32]
	cbz	x8, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_28 Depth=1
Lloh30:
	adrp	x8, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x27, #24]
	ldr	w10, [x28]
	orr	w8, w8, w10
	bic	w8, w9, w8
	str	w8, [x27, #24]
LBB0_37:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x27, #8]
	cmp	w8, #32
	cset	w0, gt
	bl	_WARN_ON
	cbnz	x0, LBB0_4
; %bb.38:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x27, #4]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.39:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x9, [x27, #16]
	add	x9, x9, #12
LBB0_40:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9, #4]
	str	w10, [x9, #8]
	ldr	w11, [x26]
	ldur	w10, [x9, #-8]
	stp	w10, w11, [x9, #-4]
	stur	w22, [x9, #-12]
	add	x9, x9, #24
	subs	x8, x8, #1
	b.ne	LBB0_40
	b	LBB0_26
LBB0_41:
	cbz	w8, LBB0_44
; %bb.42:
	mov	x0, x19
	bl	_ieee80211_set_bitrate_flags
Lloh33:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh34:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	add	x23, x20, #16
	mov	x0, x23
	bl	_device_add
	cbz	w0, LBB0_45
; %bb.43:
	mov	x21, x0
Lloh35:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh36:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	b	LBB0_5
LBB0_44:
	mov	w0, #1
	bl	_WARN_ON
	b	LBB0_4
LBB0_45:
	mov	x0, x19
	bl	_wiphy_regulatory_register
	add	x22, x20, #48
Lloh37:
	adrp	x1, _cfg80211_rdev_list@GOTPAGE
Lloh38:
	ldr	x1, [x1, _cfg80211_rdev_list@GOTPAGEOFF]
	mov	x0, x22
	bl	_list_add_rcu
Lloh39:
	adrp	x8, _cfg80211_rdev_list_generation@GOTPAGE
Lloh40:
	ldr	x8, [x8, _cfg80211_rdev_list_generation@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	bl	_wiphy_name
Lloh41:
	adrp	x8, _ieee80211_debugfs_dir@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ieee80211_debugfs_dir@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_debugfs_create_dir
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_47
; %bb.46:
	str	xzr, [x20, #8]
LBB0_47:
	ldr	w8, [x19, #4]
Lloh44:
	adrp	x9, _WIPHY_FLAG_CUSTOM_REGULATORY@GOTPAGE
Lloh45:
	ldr	x9, [x9, _WIPHY_FLAG_CUSTOM_REGULATORY@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_51
; %bb.48:
	mov	x0, x20
	bl	_cfg80211_debugfs_rdev_add
Lloh47:
	adrp	x0, _cfg80211_mutex@GOTPAGE
Lloh48:
	ldr	x0, [x0, _cfg80211_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	ldr	w0, [x20, #52]
	bl	_rfkill_register
	mov	x21, x0
	cbz	w0, LBB0_50
; %bb.49:
	mov	x0, x23
	bl	_device_del
Lloh49:
	adrp	x23, _cfg80211_mutex@GOTPAGE
Lloh50:
	ldr	x23, [x23, _cfg80211_mutex@GOTPAGEOFF]
	mov	x0, x23
	bl	_mutex_lock
	ldr	x0, [x20, #8]
	bl	_debugfs_remove_recursive
	mov	x0, x22
	bl	_list_del_rcu
	mov	x0, x19
	bl	_wiphy_regulatory_deregister
	mov	x0, x23
	bl	_mutex_unlock
	b	LBB0_5
LBB0_50:
	bl	_rtnl_lock
	mov	w8, #1
	str	w8, [x20]
	bl	_rtnl_unlock
	b	LBB0_5
LBB0_51:
	mov	x0, x19
	bl	_get_wiphy_idx
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_WIPHY_FLAG_HAVE_AP_SME,4,2     ; @WIPHY_FLAG_HAVE_AP_SME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NUM_NL80211_IFTYPES,4,2        ; @NUM_NL80211_IFTYPES
	.comm	_IEEE80211_NUM_BANDS,4,2        ; @IEEE80211_NUM_BANDS
	.comm	_IEEE80211_BAND_60GHZ,4,2       ; @IEEE80211_BAND_60GHZ
	.comm	_cfg80211_disable_40mhz_24ghz,8,3 ; @cfg80211_disable_40mhz_24ghz
	.comm	_IEEE80211_BAND_2GHZ,4,2        ; @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_cfg80211_mutex,4,2             ; @cfg80211_mutex
	.comm	_cfg80211_rdev_list,4,2         ; @cfg80211_rdev_list
	.comm	_cfg80211_rdev_list_generation,4,2 ; @cfg80211_rdev_list_generation
	.comm	_ieee80211_debugfs_dir,4,2      ; @ieee80211_debugfs_dir
	.comm	_WIPHY_FLAG_CUSTOM_REGULATORY,4,2 ; @WIPHY_FLAG_CUSTOM_REGULATORY
	.comm	_NL80211_REGDOM_SET_BY_DRIVER,4,2 ; @NL80211_REGDOM_SET_BY_DRIVER
	.comm	_WIPHY_WOWLAN_GTK_REKEY_FAILURE,4,2 ; @WIPHY_WOWLAN_GTK_REKEY_FAILURE
	.comm	_WIPHY_WOWLAN_SUPPORTS_GTK_REKEY,4,2 ; @WIPHY_WOWLAN_SUPPORTS_GTK_REKEY
.subsections_via_symbols
