	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fujitsu_backlight_register
_fujitsu_backlight_register:            ## @fujitsu_backlight_register
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_acpi_driver_data
	movq	%rax, %r14
	movq	_BACKLIGHT_PLATFORM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	8(%r14), %eax
	decl	%eax
	movl	%eax, -28(%rbp)
	movl	12(%r14), %eax
	movl	%eax, -24(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	_fujitsu_bl_ops@GOTPCREL(%rip), %r8
	leaq	-32(%rbp), %r9
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	callq	_devm_backlight_device_register
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, (%r14)
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BACKLIGHT_PLATFORM,4,2         ## @BACKLIGHT_PLATFORM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fujitsu-laptop"

	.comm	_fujitsu_bl_ops,4,2             ## @fujitsu_bl_ops
	.no_dead_strip	_fujitsu_backlight_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fujitsu_backlight_register
_fujitsu_backlight_register:            ; @fujitsu_backlight_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	bl	_acpi_driver_data
	mov	x19, x0
Lloh0:
	adrp	x8, _BACKLIGHT_PLATFORM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BACKLIGHT_PLATFORM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x0, #8]
	sub	w9, w9, #1
	stp	w8, w9, [sp]
	str	w10, [sp, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x4, _fujitsu_bl_ops@GOTPAGE
Lloh6:
	ldr	x4, [x4, _fujitsu_bl_ops@GOTPAGEOFF]
	mov	x5, sp
	mov	x0, x20
	mov	x2, x20
	mov	x3, x20
	bl	_devm_backlight_device_register
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_PTR_ERR
	b	LBB0_3
LBB0_2:
	str	x20, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BACKLIGHT_PLATFORM,4,2         ; @BACKLIGHT_PLATFORM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fujitsu-laptop"

	.comm	_fujitsu_bl_ops,4,2             ; @fujitsu_bl_ops
	.no_dead_strip	_fujitsu_backlight_register
.subsections_via_symbols
