	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atm_remove
_atm_remove:                            ## @atm_remove
	.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_11
## %bb.1:
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	40(%r15), %rax
	movq	(%rax,%r14,8), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdi
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	40(%r15), %rax
	movq	(%rax,%r14,8), %rdi
	movq	_solos_attr_group@GOTPCREL(%rip), %rsi
	callq	_sysfs_remove_group
	movq	40(%r15), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_atm_dev_deregister
	movq	32(%r15), %rax
	movq	(%rax,%r14,8), %r12
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %r13
	movq	%r12, %rdi
	callq	_SKB_CB
	movl	(%rax), %esi
	movq	_RX_DMA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_pci_unmap_single
	movq	%r12, %rdi
	callq	_dev_kfree_skb
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rax
	movq	(%rax,%r14,8), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %r13
	movq	%r12, %rdi
	callq	_SKB_CB
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_pci_unmap_single
	movq	%r12, %rdi
	callq	_dev_kfree_skb
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(,%r14,4), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rdi
	addq	%rbx, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=2
	movq	%rax, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_9
LBB0_11:
	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	"Unregistering ATM device %d\n"

	.comm	_solos_attr_group,4,2           ## @solos_attr_group
	.comm	_RX_DMA_SIZE,4,2                ## @RX_DMA_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.no_dead_strip	_atm_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atm_remove
_atm_remove:                            ; @atm_remove
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x24, #0
Lloh0:
	adrp	x20, _solos_attr_group@GOTPAGE
Lloh1:
	ldr	x20, [x20, _solos_attr_group@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PCI_DMA_TODEVICE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x26, _RX_DMA_SIZE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _RX_DMA_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x27, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24, lsl #3]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #16]
	ldr	w2, [x8, #4]
	mov	x1, x21
	bl	_dev_info
	ldr	x8, [x19, #40]
	lsl	x22, x24, #3
	ldr	x0, [x8, x22]
	mov	x1, x20
	bl	_sysfs_remove_group
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x22]
	bl	_atm_dev_deregister
	ldr	x8, [x19, #32]
	ldr	x22, [x8, x22]
	cbz	x22, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x19, #16]
	mov	x0, x22
	bl	_SKB_CB
	ldr	w1, [x0]
	ldr	w2, [x26]
	ldr	w3, [x27]
	mov	x0, x23
	bl	_pci_unmap_single
	mov	x0, x22
	bl	_dev_kfree_skb
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	ldr	x22, [x8, x24, lsl #3]
	cbz	x22, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x19, #16]
	mov	x0, x22
	bl	_SKB_CB
	ldr	w1, [x0]
	ldr	w2, [x22]
	ldr	w3, [x25]
	mov	x0, x23
	bl	_pci_unmap_single
	mov	x0, x22
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_dev_kfree_skb
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x24, lsl #2
	bl	_skb_dequeue
	cbnz	x0, LBB0_8
	b	LBB0_2
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unregistering ATM device %d\n"

	.comm	_solos_attr_group,4,2           ; @solos_attr_group
	.comm	_RX_DMA_SIZE,4,2                ; @RX_DMA_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.no_dead_strip	_atm_remove
.subsections_via_symbols
