	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pwm_enable_to_reg
_pwm_enable_to_reg:                     ## @pwm_enable_to_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$1, %rdi
	je	LBB0_3
## %bb.1:
	cmpq	$2, %rdi
	jne	LBB0_2
## %bb.6:
	movq	_PWM_MODE_AUTO@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	testl	%esi, %esi
	jne	LBB0_4
## %bb.5:
	movq	_PWM_MODE_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_PWM_MODE_ON@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_PWM_MODE_MANUAL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PWM_MODE_ON,4,2                ## @PWM_MODE_ON
	.comm	_PWM_MODE_MANUAL,4,2            ## @PWM_MODE_MANUAL
	.comm	_PWM_MODE_OFF,4,2               ## @PWM_MODE_OFF
	.comm	_PWM_MODE_AUTO,4,2              ## @PWM_MODE_AUTO
	.no_dead_strip	_pwm_enable_to_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pwm_enable_to_reg
_pwm_enable_to_reg:                     ; @pwm_enable_to_reg
	.cfi_startproc
; %bb.0:
	cmp	x0, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	x0, #2
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _PWM_MODE_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PWM_MODE_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh3:
	adrp	x8, _PWM_MODE_MANUAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PWM_MODE_MANUAL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PWM_MODE_OFF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PWM_MODE_OFF@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh7:
	adrp	x8, _PWM_MODE_ON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PWM_MODE_ON@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PWM_MODE_ON,4,2                ; @PWM_MODE_ON
	.comm	_PWM_MODE_MANUAL,4,2            ; @PWM_MODE_MANUAL
	.comm	_PWM_MODE_OFF,4,2               ; @PWM_MODE_OFF
	.comm	_PWM_MODE_AUTO,4,2              ; @PWM_MODE_AUTO
	.no_dead_strip	_pwm_enable_to_reg
.subsections_via_symbols
