	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_add_card                   ## -- Begin function lbs_add_card
	.p2align	4, 0x90
_lbs_add_card:                          ## @lbs_add_card
	.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, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_lbs_cfg_alloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_10
LBB0_2:
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r15, %rdi
	callq	_wdev_priv
	movq	%rax, %r14
	movq	%r15, 56(%rax)
	movq	%rax, %rdi
	callq	_lbs_init_adapter
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_9
LBB0_4:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_NET_NAME_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ether_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_alloc_netdev
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	movq	%r15, 40(%rax)
	movq	%r14, 32(%rax)
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_SET_NETDEV_DEV
	movq	%r12, (%r15)
	movq	%r12, 48(%r14)
	movq	_lbs_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r12)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, (%r12)
	movq	_lbs_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r12)
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 4(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r14)
	movl	8(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcpy
	leaq	L_.str.4(%rip), %rdi
	callq	_lbs_deb_thread
	leaq	32(%r14), %rdi
	callq	_init_waitqueue_head
	movq	_lbs_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rsi
	callq	_kthread_run
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	24(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_lbs_deb_thread
	movq	%r12, %rdi
	callq	_free_netdev
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
LBB0_8:
	movq	%r14, %rdi
	callq	_lbs_free_adapter
LBB0_9:
	movq	%r14, %rdi
	callq	_lbs_cfg_free
LBB0_10:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_11:
	leaq	L_.str.7(%rip), %rdi
	callq	_create_singlethread_workqueue
	movl	%eax, 20(%r14)
	movq	%r14, %rdi
	addq	$16, %rdi
	movq	_lbs_set_mcast_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_EHS_REMOVE_WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movabsq	$85899346175, %rax              ## imm = 0x14000000FF
	movq	%rax, (%r14)
	movl	$1, 8(%r14)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cfg80211 init failed\n"

	.comm	_NL80211_IFTYPE_STATION,4,2     ## @NL80211_IFTYPE_STATION
L_.str.1:                               ## @.str.1
	.asciz	"failed to initialize adapter structure\n"

L_.str.2:                               ## @.str.2
	.asciz	"wlan%d"

	.comm	_NET_NAME_UNKNOWN,4,2           ## @NET_NAME_UNKNOWN
	.comm	_ether_setup,4,2                ## @ether_setup
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"no memory for network device instance\n"

	.comm	_lbs_netdev_ops,4,2             ## @lbs_netdev_ops
	.comm	_HZ,4,2                         ## @HZ
	.comm	_lbs_ethtool_ops,4,2            ## @lbs_ethtool_ops
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
L_.str.4:                               ## @.str.4
	.asciz	"Starting main thread...\n"

	.comm	_lbs_thread,4,2                 ## @lbs_thread
L_.str.5:                               ## @.str.5
	.asciz	"lbs_main"

L_.str.6:                               ## @.str.6
	.asciz	"Error creating main thread.\n"

L_.str.7:                               ## @.str.7
	.asciz	"lbs_worker"

	.comm	_lbs_set_mcast_worker,4,2       ## @lbs_set_mcast_worker
	.comm	_EHS_REMOVE_WAKEUP,4,2          ## @EHS_REMOVE_WAKEUP
.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 lbs_add_card
lCPI0_0:
	.long	255                             ; 0xff
	.long	20                              ; 0x14
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lbs_add_card
	.p2align	2
_lbs_add_card:                          ; @lbs_add_card
	.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	x22, x1
	mov	x21, x0
	mov	x0, x1
	bl	_lbs_cfg_alloc
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_PTR_ERR
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_10
LBB0_2:
Lloh2:
	adrp	x8, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x24, #8]
	mov	x0, x24
	bl	_wdev_priv
	mov	x19, x0
	str	x24, [x0, #56]
	bl	_lbs_init_adapter
	cbz	w0, LBB0_4
; %bb.3:
	mov	x23, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	b	LBB0_9
LBB0_4:
Lloh7:
	adrp	x8, _NET_NAME_UNKNOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NET_NAME_UNKNOWN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _ether_setup@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ether_setup@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_alloc_netdev
	cbz	x0, LBB0_7
; %bb.5:
	mov	x20, x0
	stp	x19, x24, [x0, #32]
	mov	x1, x22
	bl	_SET_NETDEV_DEV
	str	x20, [x24]
Lloh15:
	adrp	x8, _lbs_netdev_ops@GOTPAGE
Lloh16:
	ldr	x8, [x8, _lbs_netdev_ops@GOTPAGEOFF]
Lloh17:
	adrp	x9, _HZ@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	add	w9, w9, w9, lsl #2
	str	w9, [x20]
Lloh20:
	adrp	x9, _lbs_ethtool_ops@GOTPAGE
Lloh21:
	ldr	x9, [x9, _lbs_ethtool_ops@GOTPAGEOFF]
Lloh22:
	adrp	x10, _IFF_BROADCAST@GOTPAGE
Lloh23:
	ldr	x10, [x10, _IFF_BROADCAST@GOTPAGEOFF]
	stp	x9, x8, [x20, #16]
Lloh24:
	ldr	w8, [x10]
Lloh25:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldp	w9, w0, [x20, #4]
	orr	w8, w8, w9
	str	w8, [x20, #4]
	stp	x21, x20, [x19, #40]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcpy
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_lbs_deb_thread
	add	x0, x19, #32
	bl	_init_waitqueue_head
Lloh32:
	adrp	x8, _lbs_thread@GOTPAGE
Lloh33:
	ldr	x8, [x8, _lbs_thread@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x2, l_.str.5@PAGE
Lloh36:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_kthread_run
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x0, [x19, #24]
	bl	_PTR_ERR
	mov	x23, x0
Lloh37:
	adrp	x0, l_.str.6@PAGE
Lloh38:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_lbs_deb_thread
	mov	x0, x20
	bl	_free_netdev
	b	LBB0_8
LBB0_7:
Lloh39:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w23, w8
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_dev_err
LBB0_8:
	mov	x0, x19
	bl	_lbs_free_adapter
LBB0_9:
	mov	x0, x19
	bl	_lbs_cfg_free
LBB0_10:
	mov	x0, x23
	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	_ERR_PTR
LBB0_11:
Lloh44:
	adrp	x0, l_.str.7@PAGE
Lloh45:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_create_singlethread_workqueue
	str	w0, [x19, #20]
	add	x0, x19, #16
Lloh46:
	adrp	x8, _lbs_set_mcast_worker@GOTPAGE
Lloh47:
	ldr	x8, [x8, _lbs_set_mcast_worker@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh49:
	adrp	x8, _EHS_REMOVE_WAKEUP@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EHS_REMOVE_WAKEUP@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, lCPI0_0@PAGE
Lloh53:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	w9, #1
	stp	w9, w8, [x19, #8]
	mov	x0, x19
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdr	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cfg80211 init failed\n"

	.comm	_NL80211_IFTYPE_STATION,4,2     ; @NL80211_IFTYPE_STATION
l_.str.1:                               ; @.str.1
	.asciz	"failed to initialize adapter structure\n"

l_.str.2:                               ; @.str.2
	.asciz	"wlan%d"

	.comm	_NET_NAME_UNKNOWN,4,2           ; @NET_NAME_UNKNOWN
	.comm	_ether_setup,4,2                ; @ether_setup
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"no memory for network device instance\n"

	.comm	_lbs_netdev_ops,4,2             ; @lbs_netdev_ops
	.comm	_HZ,4,2                         ; @HZ
	.comm	_lbs_ethtool_ops,4,2            ; @lbs_ethtool_ops
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
l_.str.4:                               ; @.str.4
	.asciz	"Starting main thread...\n"

	.comm	_lbs_thread,4,2                 ; @lbs_thread
l_.str.5:                               ; @.str.5
	.asciz	"lbs_main"

l_.str.6:                               ; @.str.6
	.asciz	"Error creating main thread.\n"

l_.str.7:                               ; @.str.7
	.asciz	"lbs_worker"

	.comm	_lbs_set_mcast_worker,4,2       ; @lbs_set_mcast_worker
	.comm	_EHS_REMOVE_WAKEUP,4,2          ; @EHS_REMOVE_WAKEUP
.subsections_via_symbols
