	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function virt_wifi_make_wiphy
_virt_wifi_make_wiphy:                  ## @virt_wifi_make_wiphy
	.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	_virt_wifi_cfg80211_ops@GOTPCREL(%rip), %rdi
	movl	$16, %esi
	callq	_wiphy_new
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movabsq	$4294967296004, %rax            ## imm = 0x3E800000004
	movq	%rax, (%rbx)
	movq	_CFG80211_SIGNAL_TYPE_MBM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_band_2ghz@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	16(%rbx), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_band_5ghz@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	16(%rbx), %rax
	movq	_NL80211_BAND_60GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_wiphy_priv
	movl	$0, (%rax)
	movq	$0, 8(%rax)
	leaq	4(%rax), %rdi
	movq	_virt_wifi_scan_result@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%rbx, %rdi
	callq	_wiphy_register
	testl	%eax, %eax
	jns	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_wiphy_free
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_virt_wifi_cfg80211_ops,4,2     ## @virt_wifi_cfg80211_ops
	.comm	_CFG80211_SIGNAL_TYPE_MBM,4,2   ## @CFG80211_SIGNAL_TYPE_MBM
	.comm	_band_2ghz,4,2                  ## @band_2ghz
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_band_5ghz,4,2                  ## @band_5ghz
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_NL80211_BAND_60GHZ,8,3         ## @NL80211_BAND_60GHZ
	.comm	_NL80211_IFTYPE_STATION,4,2     ## @NL80211_IFTYPE_STATION
	.comm	_virt_wifi_scan_result,4,2      ## @virt_wifi_scan_result
	.no_dead_strip	_virt_wifi_make_wiphy
.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 virt_wifi_make_wiphy
lCPI0_0:
	.long	4                               ; 0x4
	.long	1000                            ; 0x3e8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_virt_wifi_make_wiphy:                  ; @virt_wifi_make_wiphy
	.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
Lloh0:
	adrp	x0, _virt_wifi_cfg80211_ops@GOTPAGE
Lloh1:
	ldr	x0, [x0, _virt_wifi_cfg80211_ops@GOTPAGEOFF]
	mov	w1, #16
	bl	_wiphy_new
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	ldr	x8, [x19, #16]
Lloh4:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh6:
	adrp	x10, _band_2ghz@GOTPAGE
Lloh7:
	ldr	x10, [x10, _band_2ghz@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	x10, [x8, x9, lsl #3]
Lloh9:
	adrp	x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	x8, [x19, #16]
Lloh12:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh14:
	adrp	x10, _band_5ghz@GOTPAGE
Lloh15:
	ldr	x10, [x10, _band_5ghz@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	str	x10, [x8, x9, lsl #3]
	ldr	x8, [x19, #16]
Lloh17:
	adrp	x9, _NL80211_BAND_60GHZ@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NL80211_BAND_60GHZ@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
Lloh20:
	adrp	x8, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_BIT
	str	w0, [x19, #8]
	mov	x0, x19
	bl	_wiphy_priv
	str	wzr, [x0]
	str	xzr, [x0, #8]
	add	x0, x0, #4
Lloh23:
	adrp	x8, _virt_wifi_scan_result@GOTPAGE
Lloh24:
	ldr	x8, [x8, _virt_wifi_scan_result@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	mov	x0, x19
	bl	_wiphy_register
	tbz	w0, #31, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_wiphy_free
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_virt_wifi_cfg80211_ops,4,2     ; @virt_wifi_cfg80211_ops
	.comm	_CFG80211_SIGNAL_TYPE_MBM,4,2   ; @CFG80211_SIGNAL_TYPE_MBM
	.comm	_band_2ghz,4,2                  ; @band_2ghz
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_band_5ghz,4,2                  ; @band_5ghz
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_NL80211_BAND_60GHZ,8,3         ; @NL80211_BAND_60GHZ
	.comm	_NL80211_IFTYPE_STATION,4,2     ; @NL80211_IFTYPE_STATION
	.comm	_virt_wifi_scan_result,4,2      ; @virt_wifi_scan_result
	.no_dead_strip	_virt_wifi_make_wiphy
.subsections_via_symbols
