	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_alloc_device              ## -- Begin function mt76_alloc_device
	.p2align	4, 0x90
_mt76_alloc_device:                     ## @mt76_alloc_device
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, %r15
	movl	%esi, %edi
	movq	%rdx, %rsi
	callq	_ieee80211_alloc_hw
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rbx
	movq	%rax, 48(%rbx)
	movq	%r15, 40(%rbx)
	movq	%r14, 32(%rbx)
	leaq	24(%rbx), %rdi
	callq	_spin_lock_init
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	leaq	16(%rbx), %rdi
	callq	_spin_lock_init
	leaq	12(%rbx), %rdi
	callq	_mutex_init
	leaq	8(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	4(%rbx), %rdi
	callq	_skb_queue_head_init
	movq	_mt76_tx_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_tasklet_init
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mt76_tx_tasklet,4,2            ## @mt76_tx_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_alloc_device              ; -- Begin function mt76_alloc_device
	.p2align	2
_mt76_alloc_device:                     ; @mt76_alloc_device
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x21, x0
	mov	x0, x1
	mov	x1, x2
	bl	_ieee80211_alloc_hw
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x19, [x0]
	stp	x21, x0, [x19, #40]
	str	x20, [x19, #32]
	add	x0, x19, #24
	bl	_spin_lock_init
	add	x0, x19, #20
	bl	_spin_lock_init
	add	x0, x19, #16
	bl	_spin_lock_init
	add	x0, x19, #12
	bl	_mutex_init
	add	x0, x19, #8
	bl	_init_waitqueue_head
	add	x0, x19, #4
	bl	_skb_queue_head_init
Lloh0:
	adrp	x8, _mt76_tx_tasklet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mt76_tx_tasklet@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x19
	bl	_tasklet_init
	b	LBB0_3
LBB0_2:
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mt76_tx_tasklet,4,2            ; @mt76_tx_tasklet
.subsections_via_symbols
