	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_pwm_enable
_show_pwm_enable:                       ## @show_pwm_enable
	.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	%rdx, %r14
	movq	%rsi, %rbx
	callq	_f71882fg_update_device
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_to_sensor_dev_attr_2
	movb	(%rax), %cl
	addb	%cl, %cl
	movl	(%r15), %eax
	sarl	%cl, %eax
	andl	$3, %eax
	movl	$2, %edx
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$3, %eax
	jne	LBB0_2
## %bb.3:
	movl	4(%r15), %eax
	movq	_f8000@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	sete	%dl
	addl	%edx, %edx
	incl	%edx
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edx
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_f8000,4,2                      ## @f8000
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_pwm_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_pwm_enable
_show_pwm_enable:                       ; @show_pwm_enable
	.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, x2
	mov	x21, x1
	bl	_f71882fg_update_device
	mov	x20, x0
	mov	x0, x21
	bl	_to_sensor_dev_attr_2
	ldr	w8, [x0]
	ldr	w9, [x20]
	lsl	w8, w8, #1
	asr	w8, w9, w8
	and	w8, w8, #0x3
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w2, #2
	b	LBB0_5
LBB0_2:
	cmp	w8, #3
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x20, #4]
Lloh0:
	adrp	x9, _f8000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _f8000@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #3
	csinc	w2, w8, wzr, eq
	b	LBB0_5
LBB0_4:
	mov	w2, #1
LBB0_5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	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	_sprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_f8000,4,2                      ; @f8000
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_pwm_enable
.subsections_via_symbols
