	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qtnf_wiphy_register            ## -- Begin function qtnf_wiphy_register
	.p2align	4, 0x90
_qtnf_wiphy_register:                   ## @qtnf_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	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_priv_to_wiphy
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	72(%r14), %eax
	movl	%eax, 140(%rbx)
	movups	56(%r14), %xmm0
	movups	%xmm0, 124(%rbx)
	movl	(%r15), %eax
	testl	%eax, %eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	leaq	8(%r14), %r12
	movl	%ecx, (%rbx)
	movq	_QTNF_MAX_VSIE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rbx)
	movq	_qtnf_mgmt_stypes@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%rbx)
	movl	$5000, 4(%rbx)                  ## imm = 0x1388
	movl	52(%r14), %eax
	movl	%eax, 112(%rbx)
	movl	$2, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_qtnf_wiphy_setup_if_comb
	testl	%eax, %eax
	jne	LBB0_31
## %bb.3:
	movq	_qtnf_cipher_suites@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 108(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 104(%rbx)
	movq	_CFG80211_SIGNAL_TYPE_MBM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rbx)
	movq	_WIPHY_FLAG_HAVE_AP_SME@GOTPCREL(%rip), %rax
	movq	_WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WIPHY_FLAG_AP_UAPSD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WIPHY_FLAG_HAS_CHANNEL_SWITCH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WIPHY_FLAG_4ADDR_STATION@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WIPHY_FLAG_NETNS_OK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	12(%rbx), %ecx
	movq	_WIPHY_FLAG_PS_ON_BY_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 12(%rbx)
	movl	4(%r15), %eax
	movq	_QLINK_HW_CAPAB_DFS_OFFLOAD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_NL80211_EXT_FEATURE_DFS_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wiphy_ext_feature_set
	movl	4(%r15), %eax
LBB0_5:
	movq	_QLINK_HW_CAPAB_SCAN_DWELL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_NL80211_EXT_FEATURE_SET_SCAN_DWELL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wiphy_ext_feature_set
LBB0_7:
	movq	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPCREL(%rip), %rax
	movq	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	movl	48(%r14), %eax
	movl	%eax, 96(%rbx)
	movl	44(%r14), %eax
	movl	%eax, 92(%rbx)
	movl	40(%r14), %eax
	movl	%eax, 88(%rbx)
	leaq	36(%r14), %rax
	movq	%rax, 80(%rbx)
	leaq	32(%r14), %rax
	movq	%rax, 72(%rbx)
	movl	68(%rbx), %edi
	movl	80(%r14), %esi
	callq	_ether_addr_copy
	movl	4(%r15), %eax
	movq	_QLINK_HW_CAPAB_STA_INACT_TIMEOUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_NL80211_FEATURE_INACTIVITY_TIMER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 64(%rbx)
LBB0_9:
	movq	_QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 64(%rbx)
LBB0_11:
	movq	_QLINK_HW_CAPAB_OBSS_SCAN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_13
## %bb.12:
	movq	_NL80211_FEATURE_NEED_OBSS_SCAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 64(%rbx)
LBB0_13:
	movq	_QLINK_HW_CAPAB_SAE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:
	movq	_NL80211_FEATURE_SAE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%rbx)
LBB0_15:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movsbl	(%rax), %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movsbl	1(%rax), %edi
	callq	_isalpha
	testq	%rax, %rax
	setne	%r13b
	jmp	LBB0_18
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	xorl	%r13d, %r13d
LBB0_18:
	movq	_QLINK_HW_CAPAB_REG_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_24
## %bb.19:
	movq	_qtnf_cfg80211_reg_notifier@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	(%r14), %rsi
	movq	(%rsi), %rax
	cmpb	$57, (%rax)
	jne	LBB0_22
## %bb.20:
	cmpb	$57, 1(%rax)
	jne	LBB0_22
## %bb.21:
	movq	_REGULATORY_CUSTOM_REG@GOTPCREL(%rip), %rax
	movq	_REGULATORY_STRICT_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 20(%rbx)
	movq	%rbx, %rdi
	callq	_wiphy_apply_custom_regulatory
	jmp	LBB0_26
LBB0_22:
	testb	%r13b, %r13b
	je	LBB0_26
## %bb.23:
	movq	_REGULATORY_STRICT_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_24:
	movq	_REGULATORY_WIPHY_SELF_MANAGED@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	orl	%eax, 20(%rbx)
LBB0_26:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movl	20(%r14), %ecx
	movl	%ecx, 44(%rbx)
	movl	16(%r14), %ecx
	movl	%ecx, 40(%rbx)
	movq	%rax, 32(%rbx)
LBB0_28:
	movl	28(%rbx), %edi
	movl	12(%r15), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%r15), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_wiphy_register
	testl	%eax, %eax
	js	LBB0_31
## %bb.29:
	movq	_REGULATORY_WIPHY_SELF_MANAGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 20(%rbx)
	je	LBB0_30
## %bb.32:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regulatory_set_wiphy_regd      ## TAILCALL
LBB0_30:
	testb	%r13b, %r13b
	je	LBB0_31
## %bb.33:
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regulatory_hint                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid wiphy pointer\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_QTNF_MAX_VSIE_LEN,4,2          ## @QTNF_MAX_VSIE_LEN
	.comm	_qtnf_mgmt_stypes,4,2           ## @qtnf_mgmt_stypes
	.comm	_qtnf_cipher_suites,4,2         ## @qtnf_cipher_suites
	.comm	_CFG80211_SIGNAL_TYPE_MBM,4,2   ## @CFG80211_SIGNAL_TYPE_MBM
	.comm	_WIPHY_FLAG_HAVE_AP_SME,4,2     ## @WIPHY_FLAG_HAVE_AP_SME
	.comm	_WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD,4,2 ## @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD
	.comm	_WIPHY_FLAG_AP_UAPSD,4,2        ## @WIPHY_FLAG_AP_UAPSD
	.comm	_WIPHY_FLAG_HAS_CHANNEL_SWITCH,4,2 ## @WIPHY_FLAG_HAS_CHANNEL_SWITCH
	.comm	_WIPHY_FLAG_4ADDR_STATION,4,2   ## @WIPHY_FLAG_4ADDR_STATION
	.comm	_WIPHY_FLAG_NETNS_OK,4,2        ## @WIPHY_FLAG_NETNS_OK
	.comm	_WIPHY_FLAG_PS_ON_BY_DEFAULT,4,2 ## @WIPHY_FLAG_PS_ON_BY_DEFAULT
	.comm	_QLINK_HW_CAPAB_DFS_OFFLOAD,4,2 ## @QLINK_HW_CAPAB_DFS_OFFLOAD
	.comm	_NL80211_EXT_FEATURE_DFS_OFFLOAD,4,2 ## @NL80211_EXT_FEATURE_DFS_OFFLOAD
	.comm	_QLINK_HW_CAPAB_SCAN_DWELL,4,2  ## @QLINK_HW_CAPAB_SCAN_DWELL
	.comm	_NL80211_EXT_FEATURE_SET_SCAN_DWELL,4,2 ## @NL80211_EXT_FEATURE_SET_SCAN_DWELL
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS,4,2 ## @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2,4,2 ## @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2
	.comm	_QLINK_HW_CAPAB_STA_INACT_TIMEOUT,4,2 ## @QLINK_HW_CAPAB_STA_INACT_TIMEOUT
	.comm	_NL80211_FEATURE_INACTIVITY_TIMER,4,2 ## @NL80211_FEATURE_INACTIVITY_TIMER
	.comm	_QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR,4,2 ## @QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR
	.comm	_NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR,4,2 ## @NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR
	.comm	_QLINK_HW_CAPAB_OBSS_SCAN,4,2   ## @QLINK_HW_CAPAB_OBSS_SCAN
	.comm	_NL80211_FEATURE_NEED_OBSS_SCAN,4,2 ## @NL80211_FEATURE_NEED_OBSS_SCAN
	.comm	_QLINK_HW_CAPAB_SAE,4,2         ## @QLINK_HW_CAPAB_SAE
	.comm	_NL80211_FEATURE_SAE,4,2        ## @NL80211_FEATURE_SAE
	.comm	_QLINK_HW_CAPAB_REG_UPDATE,4,2  ## @QLINK_HW_CAPAB_REG_UPDATE
	.comm	_qtnf_cfg80211_reg_notifier,4,2 ## @qtnf_cfg80211_reg_notifier
	.comm	_REGULATORY_CUSTOM_REG,4,2      ## @REGULATORY_CUSTOM_REG
	.comm	_REGULATORY_STRICT_REG,4,2      ## @REGULATORY_STRICT_REG
	.comm	_REGULATORY_WIPHY_SELF_MANAGED,4,2 ## @REGULATORY_WIPHY_SELF_MANAGED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function qtnf_wiphy_register
lCPI0_0:
	.long	5000                            ; 0x1388
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_qtnf_wiphy_register
	.p2align	2
_qtnf_wiphy_register:                   ; @qtnf_wiphy_register
	.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, x1
	mov	x21, x0
	mov	x0, x1
	bl	_priv_to_wiphy
	cbz	x0, LBB0_16
; %bb.1:
	mov	x20, x0
	add	x22, x19, #8
	ldr	w8, [x19, #72]
	str	w8, [x0, #140]
	ldur	q0, [x19, #56]
	stur	q0, [x0, #124]
	ldr	w8, [x21]
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
Lloh0:
	adrp	x9, _QTNF_MAX_VSIE_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QTNF_MAX_VSIE_LEN@GOTPAGEOFF]
	str	w8, [x0]
Lloh2:
	ldr	w8, [x9]
	str	w8, [x0, #120]
Lloh3:
	adrp	x8, _qtnf_mgmt_stypes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qtnf_mgmt_stypes@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #52]
	stp	w9, w8, [x0, #112]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x0, #4]
	mov	x1, x22
	bl	_qtnf_wiphy_setup_if_comb
	cbnz	w0, LBB0_17
; %bb.2:
Lloh8:
	adrp	x8, _qtnf_cipher_suites@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtnf_cipher_suites@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	w0, [x20, #108]
	bl	_ARRAY_SIZE
Lloh11:
	adrp	x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #100]
Lloh14:
	adrp	x8, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _WIPHY_FLAG_AP_UAPSD@GOTPAGE
Lloh21:
	ldr	x9, [x9, _WIPHY_FLAG_AP_UAPSD@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _WIPHY_FLAG_HAS_CHANNEL_SWITCH@GOTPAGE
Lloh24:
	ldr	x9, [x9, _WIPHY_FLAG_HAS_CHANNEL_SWITCH@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _WIPHY_FLAG_4ADDR_STATION@GOTPAGE
Lloh27:
	ldr	x9, [x9, _WIPHY_FLAG_4ADDR_STATION@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _WIPHY_FLAG_NETNS_OK@GOTPAGE
Lloh30:
	ldr	x9, [x9, _WIPHY_FLAG_NETNS_OK@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x20, #12]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _WIPHY_FLAG_PS_ON_BY_DEFAULT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _WIPHY_FLAG_PS_ON_BY_DEFAULT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x20, #12]
	ldr	w8, [x21, #4]
Lloh35:
	adrp	x9, _QLINK_HW_CAPAB_DFS_OFFLOAD@GOTPAGE
Lloh36:
	ldr	x9, [x9, _QLINK_HW_CAPAB_DFS_OFFLOAD@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh38:
	adrp	x8, _NL80211_EXT_FEATURE_DFS_OFFLOAD@GOTPAGE
Lloh39:
	ldr	x8, [x8, _NL80211_EXT_FEATURE_DFS_OFFLOAD@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wiphy_ext_feature_set
	ldr	w8, [x21, #4]
LBB0_4:
Lloh41:
	adrp	x9, _QLINK_HW_CAPAB_SCAN_DWELL@GOTPAGE
Lloh42:
	ldr	x9, [x9, _QLINK_HW_CAPAB_SCAN_DWELL@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh44:
	adrp	x8, _NL80211_EXT_FEATURE_SET_SCAN_DWELL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _NL80211_EXT_FEATURE_SET_SCAN_DWELL@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wiphy_ext_feature_set
LBB0_6:
Lloh47:
	adrp	x8, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPAGE
Lloh48:
	ldr	x8, [x8, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPAGE
Lloh51:
	ldr	x9, [x9, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #16]
	ldr	w8, [x19, #48]
	str	w8, [x20, #96]
	ldr	d0, [x19, #40]
	str	d0, [x20, #88]
	add	x8, x19, #36
	add	x9, x19, #32
	stp	x9, x8, [x20, #72]
	ldr	w0, [x20, #68]
	ldr	w1, [x19, #80]
	bl	_ether_addr_copy
	ldr	w8, [x21, #4]
Lloh53:
	adrp	x9, _QLINK_HW_CAPAB_STA_INACT_TIMEOUT@GOTPAGE
Lloh54:
	ldr	x9, [x9, _QLINK_HW_CAPAB_STA_INACT_TIMEOUT@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh56:
	adrp	x9, _NL80211_FEATURE_INACTIVITY_TIMER@GOTPAGE
Lloh57:
	ldr	x9, [x9, _NL80211_FEATURE_INACTIVITY_TIMER@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	ldr	w10, [x20, #64]
	orr	w9, w10, w9
	str	w9, [x20, #64]
LBB0_8:
Lloh59:
	adrp	x9, _QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR@GOTPAGE
Lloh60:
	ldr	x9, [x9, _QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
Lloh62:
	adrp	x9, _NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR@GOTPAGE
Lloh63:
	ldr	x9, [x9, _NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	ldr	w10, [x20, #64]
	orr	w9, w10, w9
	str	w9, [x20, #64]
LBB0_10:
Lloh65:
	adrp	x9, _QLINK_HW_CAPAB_OBSS_SCAN@GOTPAGE
Lloh66:
	ldr	x9, [x9, _QLINK_HW_CAPAB_OBSS_SCAN@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.11:
Lloh68:
	adrp	x9, _NL80211_FEATURE_NEED_OBSS_SCAN@GOTPAGE
Lloh69:
	ldr	x9, [x9, _NL80211_FEATURE_NEED_OBSS_SCAN@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	ldr	w10, [x20, #64]
	orr	w9, w10, w9
	str	w9, [x20, #64]
LBB0_12:
Lloh71:
	adrp	x9, _QLINK_HW_CAPAB_SAE@GOTPAGE
Lloh72:
	ldr	x9, [x9, _QLINK_HW_CAPAB_SAE@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh74:
	adrp	x8, _NL80211_FEATURE_SAE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _NL80211_FEATURE_SAE@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	ldr	w9, [x20, #64]
	orr	w8, w9, w8
	str	w8, [x20, #64]
LBB0_14:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldrsb	w0, [x8]
	bl	_isalpha
	cbz	x0, LBB0_18
; %bb.15:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldrsb	w0, [x8, #1]
	bl	_isalpha
	cmp	x0, #0
	cset	w23, ne
	b	LBB0_19
LBB0_16:
Lloh77:
	adrp	x0, l_.str@PAGE
Lloh78:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh79:
	adrp	x8, _EFAULT@GOTPAGE
Lloh80:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh81:
	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
LBB0_18:
	mov	w23, #0
LBB0_19:
	ldr	w8, [x21, #4]
Lloh82:
	adrp	x9, _QLINK_HW_CAPAB_REG_UPDATE@GOTPAGE
Lloh83:
	ldr	x9, [x9, _QLINK_HW_CAPAB_REG_UPDATE@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.20:
Lloh85:
	adrp	x8, _qtnf_cfg80211_reg_notifier@GOTPAGE
Lloh86:
	ldr	x8, [x8, _qtnf_cfg80211_reg_notifier@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	ldr	x1, [x19]
	ldr	x8, [x1]
	ldrb	w9, [x8]
	cmp	w9, #57
	b.ne	LBB0_23
; %bb.21:
	ldrb	w8, [x8, #1]
	cmp	w8, #57
	b.ne	LBB0_23
; %bb.22:
Lloh88:
	adrp	x8, _REGULATORY_CUSTOM_REG@GOTPAGE
Lloh89:
	ldr	x8, [x8, _REGULATORY_CUSTOM_REG@GOTPAGEOFF]
Lloh90:
	adrp	x9, _REGULATORY_STRICT_REG@GOTPAGE
Lloh91:
	ldr	x9, [x9, _REGULATORY_STRICT_REG@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
Lloh93:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20, #20]
	orr	w8, w8, w9
	str	w8, [x20, #20]
	mov	x0, x20
	bl	_wiphy_apply_custom_regulatory
	b	LBB0_27
LBB0_23:
	cbz	w23, LBB0_27
; %bb.24:
Lloh94:
	adrp	x8, _REGULATORY_STRICT_REG@GOTPAGE
Lloh95:
	ldr	x8, [x8, _REGULATORY_STRICT_REG@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh96:
	adrp	x8, _REGULATORY_WIPHY_SELF_MANAGED@GOTPAGE
Lloh97:
	ldr	x8, [x8, _REGULATORY_WIPHY_SELF_MANAGED@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
	ldr	w9, [x20, #20]
	orr	w8, w9, w8
	str	w8, [x20, #20]
LBB0_27:
	ldr	x8, [x22]
	cbz	x8, LBB0_29
; %bb.28:
	ldr	d0, [x19, #16]
	str	d0, [x20, #40]
	str	x8, [x20, #32]
LBB0_29:
	ldr	w0, [x20, #28]
	ldr	w1, [x21, #12]
	mov	w2, #4
	bl	_strlcpy
	ldr	w8, [x21, #8]
	str	w8, [x20, #24]
	mov	x0, x20
	bl	_wiphy_register
	tbnz	w0, #31, LBB0_17
; %bb.30:
	ldr	w8, [x20, #20]
Lloh98:
	adrp	x9, _REGULATORY_WIPHY_SELF_MANAGED@GOTPAGE
Lloh99:
	ldr	x9, [x9, _REGULATORY_WIPHY_SELF_MANAGED@GOTPAGEOFF]
Lloh100:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:
	ldr	x1, [x19]
	mov	x0, x20
	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
	b	_regulatory_set_wiphy_regd
LBB0_32:
	cbz	w23, LBB0_17
; %bb.33:
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x20
	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
	b	_regulatory_hint
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh92
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid wiphy pointer\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_QTNF_MAX_VSIE_LEN,4,2          ; @QTNF_MAX_VSIE_LEN
	.comm	_qtnf_mgmt_stypes,4,2           ; @qtnf_mgmt_stypes
	.comm	_qtnf_cipher_suites,4,2         ; @qtnf_cipher_suites
	.comm	_CFG80211_SIGNAL_TYPE_MBM,4,2   ; @CFG80211_SIGNAL_TYPE_MBM
	.comm	_WIPHY_FLAG_HAVE_AP_SME,4,2     ; @WIPHY_FLAG_HAVE_AP_SME
	.comm	_WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD,4,2 ; @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD
	.comm	_WIPHY_FLAG_AP_UAPSD,4,2        ; @WIPHY_FLAG_AP_UAPSD
	.comm	_WIPHY_FLAG_HAS_CHANNEL_SWITCH,4,2 ; @WIPHY_FLAG_HAS_CHANNEL_SWITCH
	.comm	_WIPHY_FLAG_4ADDR_STATION,4,2   ; @WIPHY_FLAG_4ADDR_STATION
	.comm	_WIPHY_FLAG_NETNS_OK,4,2        ; @WIPHY_FLAG_NETNS_OK
	.comm	_WIPHY_FLAG_PS_ON_BY_DEFAULT,4,2 ; @WIPHY_FLAG_PS_ON_BY_DEFAULT
	.comm	_QLINK_HW_CAPAB_DFS_OFFLOAD,4,2 ; @QLINK_HW_CAPAB_DFS_OFFLOAD
	.comm	_NL80211_EXT_FEATURE_DFS_OFFLOAD,4,2 ; @NL80211_EXT_FEATURE_DFS_OFFLOAD
	.comm	_QLINK_HW_CAPAB_SCAN_DWELL,4,2  ; @QLINK_HW_CAPAB_SCAN_DWELL
	.comm	_NL80211_EXT_FEATURE_SET_SCAN_DWELL,4,2 ; @NL80211_EXT_FEATURE_SET_SCAN_DWELL
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS,4,2 ; @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2,4,2 ; @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2
	.comm	_QLINK_HW_CAPAB_STA_INACT_TIMEOUT,4,2 ; @QLINK_HW_CAPAB_STA_INACT_TIMEOUT
	.comm	_NL80211_FEATURE_INACTIVITY_TIMER,4,2 ; @NL80211_FEATURE_INACTIVITY_TIMER
	.comm	_QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR,4,2 ; @QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR
	.comm	_NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR,4,2 ; @NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR
	.comm	_QLINK_HW_CAPAB_OBSS_SCAN,4,2   ; @QLINK_HW_CAPAB_OBSS_SCAN
	.comm	_NL80211_FEATURE_NEED_OBSS_SCAN,4,2 ; @NL80211_FEATURE_NEED_OBSS_SCAN
	.comm	_QLINK_HW_CAPAB_SAE,4,2         ; @QLINK_HW_CAPAB_SAE
	.comm	_NL80211_FEATURE_SAE,4,2        ; @NL80211_FEATURE_SAE
	.comm	_QLINK_HW_CAPAB_REG_UPDATE,4,2  ; @QLINK_HW_CAPAB_REG_UPDATE
	.comm	_qtnf_cfg80211_reg_notifier,4,2 ; @qtnf_cfg80211_reg_notifier
	.comm	_REGULATORY_CUSTOM_REG,4,2      ; @REGULATORY_CUSTOM_REG
	.comm	_REGULATORY_STRICT_REG,4,2      ; @REGULATORY_STRICT_REG
	.comm	_REGULATORY_WIPHY_SELF_MANAGED,4,2 ; @REGULATORY_WIPHY_SELF_MANAGED
.subsections_via_symbols
