	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atm_dev_deregister             ## -- Begin function atm_dev_deregister
	.p2align	4, 0x90
_atm_dev_deregister:                    ## @atm_dev_deregister
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_ATM_DF_REMOVED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	4(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_BUG_ON
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	_atm_dev_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_list_del
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_atm_dev_release_vccs
	movq	%rbx, %rdi
	callq	_atm_unregister_sysfs
	movq	%rbx, %rdi
	callq	_atm_proc_dev_deregister
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atm_dev_put                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATM_DF_REMOVED,4,2             ## @ATM_DF_REMOVED
	.comm	_atm_dev_mutex,4,2              ## @atm_dev_mutex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atm_dev_deregister             ; -- Begin function atm_dev_deregister
	.p2align	2
_atm_dev_deregister:                    ; @atm_dev_deregister
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _ATM_DF_REMOVED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ATM_DF_REMOVED@GOTPAGEOFF]
	ldr	w0, [x21]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	bl	_BUG_ON
	ldr	w0, [x21]
	mov	x1, x20
	bl	_set_bit
Lloh2:
	adrp	x20, _atm_dev_mutex@GOTPAGE
Lloh3:
	ldr	x20, [x20, _atm_dev_mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x19
	bl	_list_del
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	bl	_atm_dev_release_vccs
	mov	x0, x19
	bl	_atm_unregister_sysfs
	mov	x0, x19
	bl	_atm_proc_dev_deregister
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_atm_dev_put
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATM_DF_REMOVED,4,2             ; @ATM_DF_REMOVED
	.comm	_atm_dev_mutex,4,2              ; @atm_dev_mutex
.subsections_via_symbols
