	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function softing_netdev_create
_softing_netdev_create:                 ## @softing_netdev_create
	.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	%esi, %r12d
	movq	%rdi, %r14
	movq	_TX_ECHO_SKB_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_alloc_candev
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r15, 48(%rax)
	movq	%r14, 40(%rax)
	leaq	32(%rax), %r13
	movq	_softing_btr_const@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	8(%r14), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 36(%rbx)
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r13, 16(%rbx)
	movl	$8000000, 8(%rbx)               ## imm = 0x7A1200
	movl	%r12d, 28(%rbx)
	movq	%r15, %rdi
	callq	_softing_default_output
	movl	%eax, 24(%rbx)
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_SET_NETDEV_DEV
	movq	_IFF_ECHO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r15)
	movq	_softing_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movq	_softing_candev_set_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_alert
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_ECHO_SKB_MAX,4,2            ## @TX_ECHO_SKB_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alloc_candev failed\n"

	.comm	_softing_btr_const,4,2          ## @softing_btr_const
	.comm	_IFF_ECHO,4,2                   ## @IFF_ECHO
	.comm	_softing_netdev_ops,4,2         ## @softing_netdev_ops
	.comm	_softing_candev_set_mode,4,2    ## @softing_candev_set_mode
	.comm	_CAN_CTRLMODE_3_SAMPLES,4,2     ## @CAN_CTRLMODE_3_SAMPLES
	.no_dead_strip	_softing_netdev_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function softing_netdev_create
_softing_netdev_create:                 ; @softing_netdev_create
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TX_ECHO_SKB_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_ECHO_SKB_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_alloc_candev
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_netdev_priv
	mov	x22, x0
	stp	x20, x19, [x0, #40]
	add	x23, x0, #32
Lloh3:
	adrp	x1, _softing_btr_const@GOTPAGE
Lloh4:
	ldr	x1, [x1, _softing_btr_const@GOTPAGEOFF]
	mov	x0, x23
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x20, #8]
	ldr	d0, [x8]
	str	d0, [x22, #32]
	str	x23, [x22, #16]
	mov	w8, #4608
	movk	w8, #122, lsl #16
	str	w8, [x22, #8]
	str	w21, [x22, #28]
	mov	x0, x19
	bl	_softing_default_output
	str	w0, [x22, #24]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_SET_NETDEV_DEV
Lloh5:
	adrp	x8, _IFF_ECHO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IFF_ECHO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
Lloh8:
	adrp	x8, _softing_netdev_ops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _softing_netdev_ops@GOTPAGEOFF]
	str	x8, [x19]
Lloh10:
	adrp	x8, _softing_candev_set_mode@GOTPAGE
Lloh11:
	ldr	x8, [x8, _softing_candev_set_mode@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x22]
	b	LBB0_3
LBB0_2:
	ldr	x0, [x20]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_alert
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_ECHO_SKB_MAX,4,2            ; @TX_ECHO_SKB_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alloc_candev failed\n"

	.comm	_softing_btr_const,4,2          ; @softing_btr_const
	.comm	_IFF_ECHO,4,2                   ; @IFF_ECHO
	.comm	_softing_netdev_ops,4,2         ; @softing_netdev_ops
	.comm	_softing_candev_set_mode,4,2    ; @softing_candev_set_mode
	.comm	_CAN_CTRLMODE_3_SAMPLES,4,2     ; @CAN_CTRLMODE_3_SAMPLES
	.no_dead_strip	_softing_netdev_create
.subsections_via_symbols
