	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_teardown_sysfs            ## -- Begin function i915_teardown_sysfs
	.p2align	4, 0x90
_i915_teardown_sysfs:                   ## @i915_teardown_sysfs
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_i915_teardown_error_capture
	movq	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_gen6_attrs@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_vlv_attrs@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sysfs_remove_files
	movq	_dpf_attrs_1@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_remove_bin_file
	movq	_dpf_attrs@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_device_remove_bin_file         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vlv_attrs,4,2                  ## @vlv_attrs
	.comm	_gen6_attrs,4,2                 ## @gen6_attrs
	.comm	_dpf_attrs_1,4,2                ## @dpf_attrs_1
	.comm	_dpf_attrs,4,2                  ## @dpf_attrs
	.comm	_rc6_attr_group,4,2             ## @rc6_attr_group
	.comm	_rc6p_attr_group,4,2            ## @rc6p_attr_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_teardown_sysfs            ; -- Begin function i915_teardown_sysfs
	.p2align	2
_i915_teardown_sysfs:                   ; @i915_teardown_sysfs
	.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	x20, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_i915_teardown_error_capture
	mov	x0, x20
	bl	_IS_VALLEYVIEW
Lloh0:
	adrp	x21, _vlv_attrs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _vlv_attrs@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_IS_CHERRYVIEW
Lloh2:
	adrp	x8, _gen6_attrs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gen6_attrs@GOTPAGEOFF]
	cmp	x0, #0
	csel	x21, x8, x21, eq
LBB0_2:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sysfs_remove_files
Lloh4:
	adrp	x1, _dpf_attrs_1@GOTPAGE
Lloh5:
	ldr	x1, [x1, _dpf_attrs_1@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
Lloh6:
	adrp	x1, _dpf_attrs@GOTPAGE
Lloh7:
	ldr	x1, [x1, _dpf_attrs@GOTPAGEOFF]
	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	_device_remove_bin_file
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_vlv_attrs,4,2                  ; @vlv_attrs
	.comm	_gen6_attrs,4,2                 ; @gen6_attrs
	.comm	_dpf_attrs_1,4,2                ; @dpf_attrs_1
	.comm	_dpf_attrs,4,2                  ; @dpf_attrs
	.comm	_rc6_attr_group,4,2             ; @rc6_attr_group
	.comm	_rc6p_attr_group,4,2            ; @rc6p_attr_group
.subsections_via_symbols
