	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ide_tape_release
_ide_tape_release:                      ## @ide_tape_release
	.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
	movq	_ide_tape_obj@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_to_ide_drv
	movq	%rax, %rbx
	movq	16(%rax), %r15
	movq	8(%rax), %r14
	movl	4(%rax), %edi
	callq	_BUG_ON
	movq	_IDE_DFLAG_DSC_OVERLAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r15)
	movq	$0, (%r15)
	movq	_idetape_sysfs_class@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	_IDETAPE_MAJOR@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%rbx), %esi
	callq	_MKDEV
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_device_destroy
	movl	(%r12), %r15d
	movl	(%r13), %edi
	movl	(%rbx), %esi
	subl	$-128, %esi
	callq	_MKDEV
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_device_destroy
	movq	_idetape_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	$0, (%r14)
	movq	%r14, %rdi
	callq	_put_disk
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ide_tape_obj,4,2               ## @ide_tape_obj
	.comm	_IDE_DFLAG_DSC_OVERLAP,4,2      ## @IDE_DFLAG_DSC_OVERLAP
	.comm	_idetape_sysfs_class,4,2        ## @idetape_sysfs_class
	.comm	_IDETAPE_MAJOR,4,2              ## @IDETAPE_MAJOR
	.comm	_idetape_devs,8,3               ## @idetape_devs
	.no_dead_strip	_ide_tape_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ide_tape_release
_ide_tape_release:                      ; @ide_tape_release
	.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
Lloh0:
	adrp	x8, _ide_tape_obj@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ide_tape_obj@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_to_ide_drv
	mov	x19, x0
	ldp	x20, x21, [x0, #8]
	ldr	w0, [x0, #4]
	bl	_BUG_ON
Lloh3:
	adrp	x8, _IDE_DFLAG_DSC_OVERLAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDE_DFLAG_DSC_OVERLAP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x21, #8]
	bic	w8, w9, w8
	str	w8, [x21, #8]
Lloh6:
	adrp	x22, _idetape_sysfs_class@GOTPAGE
Lloh7:
	ldr	x22, [x22, _idetape_sysfs_class@GOTPAGEOFF]
	str	xzr, [x21]
	ldr	w21, [x22]
Lloh8:
	adrp	x23, _IDETAPE_MAJOR@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IDETAPE_MAJOR@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x19]
	bl	_MKDEV
	mov	x1, x0
	mov	x0, x21
	bl	_device_destroy
	ldr	w21, [x22]
	ldr	w0, [x23]
	ldr	w8, [x19]
	add	w1, w8, #128
	bl	_MKDEV
	mov	x1, x0
	mov	x0, x21
	bl	_device_destroy
Lloh10:
	adrp	x8, _idetape_devs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _idetape_devs@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldrsw	x9, [x19]
	str	xzr, [x8, x9, lsl #3]
	str	xzr, [x20]
	mov	x0, x20
	bl	_put_disk
	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
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ide_tape_obj,4,2               ; @ide_tape_obj
	.comm	_IDE_DFLAG_DSC_OVERLAP,4,2      ; @IDE_DFLAG_DSC_OVERLAP
	.comm	_idetape_sysfs_class,4,2        ; @idetape_sysfs_class
	.comm	_IDETAPE_MAJOR,4,2              ; @IDETAPE_MAJOR
	.comm	_idetape_devs,8,3               ; @idetape_devs
	.no_dead_strip	_ide_tape_release
.subsections_via_symbols
