	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_leds_brightness_get      ## -- Begin function wacom_leds_brightness_get
	.p2align	4, 0x90
_wacom_leds_brightness_get:             ## @wacom_leds_brightness_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	(%rdi), %eax
	jmp	LBB0_2
LBB0_3:
	movl	4(%rax), %ecx
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.4:
	movl	(%rax), %eax
	imull	4(%rdi), %eax
LBB0_2:
	cltd
	idivl	%ecx
	popq	%rbp
	retq
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LED_FULL,4,2                   ## @LED_FULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_leds_brightness_get      ; -- Begin function wacom_leds_brightness_get
	.p2align	2
_wacom_leds_brightness_get:             ; @wacom_leds_brightness_get
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #8]
	ldr	w8, [x9]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w9, [x0]
	b	LBB0_4
LBB0_2:
	ldr	w8, [x9, #4]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	w9, [x0, #4]
LBB0_4:
Lloh0:
	adrp	x10, _LED_FULL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LED_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	mul	w9, w10, w9
	sdiv	w0, w9, w8
	ret
LBB0_5:
Lloh3:
	adrp	x8, _LED_FULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LED_FULL,4,2                   ; @LED_FULL
.subsections_via_symbols
