	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atm_init
_atm_init:                              ## @atm_init
	.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
	cmpl	$0, (%rdi)
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_skb_put
	movq	%rax, %r14
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r14)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r14)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r14)
	movq	_PKT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_fpga_queue
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%rbx), %rax
	addq	$4, %r15
	cmpq	%rax, %r13
	jge	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rdi
	addq	%r15, %rdi
	callq	_skb_queue_head_init
	movq	24(%rbx), %rdi
	addq	%r15, %rdi
	callq	_skb_queue_head_init
	leaq	L_.str(%rip), %rdi
	movq	_fpga_ops@GOTPCREL(%rip), %rsi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_atm_dev_register
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx,%r13,8)
	movq	16(%rbx), %rax
	movq	(%rax,%r13,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$36, %rdi
	movq	_dev_attr_console@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_err
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r13,8), %rdi
	addq	$36, %rdi
	movq	_solos_attr_group@GOTPCREL(%rip), %rsi
	callq	_sysfs_create_group
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_err
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	movl	32(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_info
	movq	16(%rbx), %rax
	movq	(%rax,%r13,8), %rcx
	movabsq	$68719476744, %rdx              ## imm = 0x1000000008
	movq	%rdx, 24(%rcx)
	movq	%rbx, 16(%rcx)
	movq	(%rax,%r13,8), %rcx
	movq	%r13, 8(%rcx)
	movq	_ATM_PHY_SIG_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rax,%r13,8), %rax
	movl	%ecx, (%rax)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_9:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_atm_remove
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	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	"solos-pci"

	.comm	_fpga_ops,4,2                   ## @fpga_ops
L_.str.1:                               ## @.str.1
	.asciz	"Could not register ATM device %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_dev_attr_console,4,2           ## @dev_attr_console
L_.str.2:                               ## @.str.2
	.asciz	"Could not register console for ATM device %d\n"

	.comm	_solos_attr_group,4,2           ## @solos_attr_group
L_.str.3:                               ## @.str.3
	.asciz	"Could not register parameter group for ATM device %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Registered ATM device %d\n"

	.comm	_ATM_PHY_SIG_UNKNOWN,4,2        ## @ATM_PHY_SIG_UNKNOWN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.5:                               ## @.str.5
	.asciz	"Failed to allocate sk_buff in atm_init()\n"

	.comm	_PKT_STATUS,4,2                 ## @PKT_STATUS
	.no_dead_strip	_atm_init
.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 atm_init
lCPI0_0:
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_atm_init:                              ; @atm_init
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x28, #0
	mov	x20, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, _fpga_ops@GOTPAGE
Lloh3:
	ldr	x22, [x22, _fpga_ops@GOTPAGEOFF]
Lloh4:
	adrp	x25, l_.str.4@PAGE
Lloh5:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh8:
	adrp	x23, _ATM_PHY_SIG_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ATM_PHY_SIG_UNKNOWN@GOTPAGEOFF]
Lloh10:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	mov	w1, #32
	bl	_skb_put
	mov	x27, x0
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x27, #24]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x27, #8]
Lloh12:
	adrp	x8, _PKT_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PKT_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x26
	mov	x3, #0
	bl	_fpga_queue
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x28, x28, #4
	cmp	x20, x8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x0, x8, x28
	bl	_skb_queue_head_init
	ldr	x8, [x19, #24]
	add	x0, x8, x28
	bl	_skb_queue_head_init
	mov	x0, x21
	mov	x1, x22
	mov	w2, #-1
	mov	x3, #0
	bl	_atm_dev_register
	ldr	x8, [x19, #16]
	lsl	x26, x20, #3
	str	x0, [x8, x26]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x26]
	cbz	x8, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x8, #36
Lloh15:
	adrp	x1, _dev_attr_console@GOTPAGE
Lloh16:
	ldr	x1, [x1, _dev_attr_console@GOTPAGEOFF]
	bl	_device_create_file
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x20, lsl #3]
	add	x0, x8, #36
Lloh19:
	adrp	x1, _solos_attr_group@GOTPAGE
Lloh20:
	ldr	x1, [x1, _solos_attr_group@GOTPAGEOFF]
	bl	_sysfs_create_group
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #8]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x0, x8, [x19, #8]
	ldr	x8, [x8, x26]
	ldr	w2, [x8, #32]
	mov	x1, x25
	bl	_dev_info
	ldr	x8, [x19, #16]
	ldr	x9, [x8, x26]
	str	d8, [x9, #24]
	str	x19, [x9, #16]
	ldr	x9, [x8, x26]
	str	x20, [x9, #8]
	ldr	w9, [x23]
	ldr	x8, [x8, x26]
	str	w9, [x8]
	ldr	w1, [x24]
	mov	w0, #32
	bl	_alloc_skb
	cbnz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #8]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_warn
	b	LBB0_3
LBB0_11:
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	ldr	x0, [x19, #8]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	mov	x0, x19
	bl	_atm_remove
Lloh27:
	adrp	x8, _ENODEV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"solos-pci"

	.comm	_fpga_ops,4,2                   ; @fpga_ops
l_.str.1:                               ; @.str.1
	.asciz	"Could not register ATM device %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_dev_attr_console,4,2           ; @dev_attr_console
l_.str.2:                               ; @.str.2
	.asciz	"Could not register console for ATM device %d\n"

	.comm	_solos_attr_group,4,2           ; @solos_attr_group
l_.str.3:                               ; @.str.3
	.asciz	"Could not register parameter group for ATM device %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Registered ATM device %d\n"

	.comm	_ATM_PHY_SIG_UNKNOWN,4,2        ; @ATM_PHY_SIG_UNKNOWN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.5:                               ; @.str.5
	.asciz	"Failed to allocate sk_buff in atm_init()\n"

	.comm	_PKT_STATUS,4,2                 ; @PKT_STATUS
	.no_dead_strip	_atm_init
.subsections_via_symbols
