	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_candev_mqs               ## -- Begin function alloc_candev_mqs
	.p2align	4, 0x90
_alloc_candev_mqs:                      ## @alloc_candev_mqs
	.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
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	_NETDEV_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ALIGN
	movl	%eax, %r13d
	addl	$4, %r13d
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movl	%r13d, %edi
	movl	$8, %esi
	callq	_ALIGN
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r15,8), %r13d
LBB0_2:
	movq	_NET_NAME_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_can_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	callq	_alloc_netdev_mqs
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r12, 24(%rax)
	movq	_NETDEV_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_ALIGN
	cltq
	addq	%rbx, %rax
	movq	%rax, (%r12)
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:
	movl	%r15d, (%rbx)
	movslq	%r13d, %rax
	movl	%r15d, %ecx
	shlq	$3, %rcx
	subq	%rcx, %rax
	addq	%rbx, %rax
	movq	%rax, 16(%rbx)
LBB0_5:
	movq	_CAN_STATE_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	addq	$4, %rbx
	movq	_can_restart_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_DELAYED_WORK
LBB0_6:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_ALIGN,4,2               ## @NETDEV_ALIGN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can%d"

	.comm	_NET_NAME_UNKNOWN,4,2           ## @NET_NAME_UNKNOWN
	.comm	_can_setup,4,2                  ## @can_setup
	.comm	_CAN_STATE_STOPPED,4,2          ## @CAN_STATE_STOPPED
	.comm	_can_restart_work,4,2           ## @can_restart_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_candev_mqs               ; -- Begin function alloc_candev_mqs
	.p2align	2
_alloc_candev_mqs:                      ; @alloc_candev_mqs
	.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, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _NETDEV_ALIGN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NETDEV_ALIGN@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_ALIGN
	add	w21, w0, #4
	cbz	w19, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #8
	bl	_ALIGN
	add	w21, w0, w19, lsl #3
LBB0_2:
Lloh2:
	adrp	x8, _NET_NAME_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NET_NAME_UNKNOWN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _can_setup@GOTPAGE
Lloh6:
	ldr	x8, [x8, _can_setup@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x4, x23
	mov	x5, x22
	bl	_alloc_netdev_mqs
	mov	x22, x0
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_netdev_priv
	mov	x23, x0
	str	x22, [x0, #24]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_ALIGN
	add	x8, x23, w0, sxtw
	str	x8, [x22]
	cbz	w19, LBB0_5
; %bb.4:
	str	w19, [x23]
	sxtw	x8, w21
	sub	x8, x8, w19, uxtw #3
	add	x8, x23, x8
	str	x8, [x23, #16]
LBB0_5:
Lloh10:
	adrp	x8, _CAN_STATE_STOPPED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CAN_STATE_STOPPED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x23, #8]
	add	x0, x23, #4
Lloh13:
	adrp	x8, _can_restart_work@GOTPAGE
Lloh14:
	ldr	x8, [x8, _can_restart_work@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
LBB0_6:
	mov	x0, x22
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_ALIGN,4,2               ; @NETDEV_ALIGN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can%d"

	.comm	_NET_NAME_UNKNOWN,4,2           ; @NET_NAME_UNKNOWN
	.comm	_can_setup,4,2                  ; @can_setup
	.comm	_CAN_STATE_STOPPED,4,2          ; @CAN_STATE_STOPPED
	.comm	_can_restart_work,4,2           ; @can_restart_work
.subsections_via_symbols
