	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_sja1000dev               ## -- Begin function alloc_sja1000dev
	.p2align	4, 0x90
_alloc_sja1000dev:                      ## @alloc_sja1000dev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	leal	32(%r14), %edi
	callq	_alloc_candev
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rbx, 24(%rax)
	movq	_sja1000_bittiming_const@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rax)
	movq	_sja1000_set_bittiming@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_sja1000_set_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	movq	%rax, %rcx
	addq	$32, %rcx
	movq	%rcx, (%rax)
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sja1000_bittiming_const,4,2    ## @sja1000_bittiming_const
	.comm	_sja1000_set_bittiming,4,2      ## @sja1000_set_bittiming
	.comm	_sja1000_set_mode,4,2           ## @sja1000_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_sja1000dev               ; -- Begin function alloc_sja1000dev
	.p2align	2
_alloc_sja1000dev:                      ; @alloc_sja1000dev
	.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
	mov	x20, x0
	add	w0, w0, #32
	bl	_alloc_candev
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_netdev_priv
Lloh0:
	adrp	x8, _sja1000_bittiming_const@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sja1000_bittiming_const@GOTPAGEOFF]
	stp	x8, x19, [x0, #16]
Lloh2:
	adrp	x8, _sja1000_set_bittiming@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sja1000_set_bittiming@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _sja1000_set_mode@GOTPAGE
Lloh6:
	ldr	x9, [x9, _sja1000_set_mode@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	cbz	w20, LBB0_3
; %bb.2:
	add	x8, x0, #32
	str	x8, [x0]
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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sja1000_bittiming_const,4,2    ; @sja1000_bittiming_const
	.comm	_sja1000_set_bittiming,4,2      ; @sja1000_set_bittiming
	.comm	_sja1000_set_mode,4,2           ; @sja1000_set_mode
.subsections_via_symbols
