	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_processor_set_throttling_fadt
_acpi_processor_set_throttling_fadt:    ## @acpi_processor_set_throttling_fadt
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movl	%esi, %r14d
	testl	%esi, %esi
	js	LBB0_1
## %bb.4:
	movq	%rdi, %r15
	movl	8(%rdi), %r12d
	movl	%r12d, %r13d
	subl	%r14d, %r13d
	jle	LBB0_1
## %bb.5:
	cmpl	$0, 40(%r15)
	je	LBB0_6
## %bb.7:
	testl	%edx, %edx
	jne	LBB0_9
## %bb.8:
	xorl	%ebx, %ebx
	cmpl	%r14d, 12(%r15)
	je	LBB0_19
LBB0_9:
	cmpl	%r14d, (%r15)
	jle	LBB0_11
## %bb.10:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.13:
	movb	16(%r15), %cl
	shll	%cl, %r13d
	decl	%r12d
	movq	_acpi_gbl_FADT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	notl	%r12d
	jmp	LBB0_14
LBB0_12:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_14:
	xorl	%eax, %eax
	callq	_local_irq_disable
	movl	32(%r15), %edi
	callq	_inl
	movl	%eax, %ebx
	testb	$16, %bl
	je	LBB0_16
## %bb.15:
	andl	$-17, %ebx
	movl	32(%r15), %esi
	movl	%ebx, %edi
	callq	_outl
LBB0_16:
	testl	%r14d, %r14d
	je	LBB0_18
## %bb.17:
	andl	%r12d, %ebx
	orl	%r13d, %ebx
	movl	32(%r15), %esi
	movl	%ebx, %edi
	callq	_outl
	orl	$16, %ebx
	movl	32(%r15), %esi
	movl	%ebx, %edi
	callq	_outl
LBB0_18:
	movl	%r14d, 12(%r15)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_local_irq_enable
	movq	24(%r15), %rax
	movl	%r14d, %ecx
	movslq	(%rax,%rcx,4), %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_acpi_gbl_FADT,4,2              ## @acpi_gbl_FADT
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.no_dead_strip	_acpi_processor_set_throttling_fadt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_processor_set_throttling_fadt
_acpi_processor_set_throttling_fadt:    ; @acpi_processor_set_throttling_fadt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x1
	tbnz	w1, #31, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0, #8]
	subs	w9, w8, w19
	b.le	LBB0_8
; %bb.3:
	ldr	w10, [x20, #40]
	cbz	w10, LBB0_11
; %bb.4:
	cbnz	w2, LBB0_6
; %bb.5:
	ldr	w10, [x20, #12]
	cmp	w10, w19
	b.eq	LBB0_20
LBB0_6:
	ldr	w10, [x20]
	cmp	w10, w19
	b.le	LBB0_12
; %bb.7:
Lloh0:
	adrp	x8, _EPERM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh4:
	adrp	x8, _ENODEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	cbz	w19, LBB0_14
; %bb.13:
	ldr	w10, [x20, #16]
	lsl	w22, w9, w10
	sub	w8, w8, #1
Lloh6:
	adrp	x9, _acpi_gbl_FADT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _acpi_gbl_FADT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	mvn	w23, w8
	b	LBB0_15
LBB0_14:
	mov	w23, #0
	mov	w22, #0
LBB0_15:
	bl	_local_irq_disable
	ldr	w0, [x20, #32]
	bl	_inl
	mov	x21, x0
	tbz	w0, #4, LBB0_17
; %bb.16:
	and	w21, w21, #0xffffffef
	ldr	w1, [x20, #32]
	mov	x0, x21
	bl	_outl
LBB0_17:
	cbz	w19, LBB0_19
; %bb.18:
	and	w8, w21, w23
	orr	w21, w8, w22
	ldr	w1, [x20, #32]
	mov	x0, x21
	bl	_outl
	orr	w0, w21, #0x10
	ldr	w1, [x20, #32]
	bl	_outl
LBB0_19:
	str	w19, [x20, #12]
	bl	_local_irq_enable
	ldr	x8, [x20, #24]
	ldrsw	x8, [x8, w19, uxtw #2]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w0, w8, w9
	bl	_ACPI_DEBUG_PRINT
LBB0_20:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_acpi_gbl_FADT,4,2              ; @acpi_gbl_FADT
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.no_dead_strip	_acpi_processor_set_throttling_fadt
.subsections_via_symbols
