	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_cpufreq_set_turbo
_bcm2835_cpufreq_set_turbo:             ## @bcm2835_cpufreq_set_turbo
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_BCM2835_MBOX_TURBO_ON@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_BCM2835_MBOX_TURBO_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movl	$56, -36(%rbp)
	movq	_BCM2835_MBOX_CODE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_BCM2835_MBOX_TAG_SET_TURBO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movabsq	$68719476760, %rax              ## imm = 0x1000000018
	movq	%rax, -48(%rbp)
	movq	%rbx, -72(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -64(%rbp)
	movq	%r15, %rdi
	movl	$56, %esi
	callq	_bcm2835_mbox_property
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_device_printf
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_4:
	movl	-80(%rbp), %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_DPRINTF
LBB0_5:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCM2835_MBOX_TURBO_ON,8,3      ## @BCM2835_MBOX_TURBO_ON
	.comm	_BCM2835_MBOX_TURBO_OFF,8,3     ## @BCM2835_MBOX_TURBO_OFF
	.comm	_BCM2835_MBOX_CODE_REQ,4,2      ## @BCM2835_MBOX_CODE_REQ
	.comm	_BCM2835_MBOX_TAG_SET_TURBO,4,2 ## @BCM2835_MBOX_TAG_SET_TURBO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't set turbo\n"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"level = %d\n"

	.no_dead_strip	_bcm2835_cpufreq_set_turbo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function bcm2835_cpufreq_set_turbo
lCPI0_0:
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bcm2835_cpufreq_set_turbo:             ; @bcm2835_cpufreq_set_turbo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
Lloh0:
	adrp	x8, _BCM2835_MBOX_TURBO_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCM2835_MBOX_TURBO_ON@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _BCM2835_MBOX_TURBO_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BCM2835_MBOX_TURBO_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	csel	x20, x1, x9, eq
	mov	w21, #56
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh6:
	adrp	x8, _BCM2835_MBOX_CODE_REQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BCM2835_MBOX_CODE_REQ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #56]
Lloh9:
	adrp	x8, _BCM2835_MBOX_TAG_SET_TURBO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BCM2835_MBOX_TAG_SET_TURBO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w21, [sp, #48]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #40]
	stp	xzr, xzr, [sp, #24]
	str	x20, [sp, #16]
	add	x0, sp, #8
	mov	w1, #56
	bl	_bcm2835_mbox_property
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
Lloh16:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w19, [x8]
	b	LBB0_3
LBB0_2:
	ldr	w19, [sp, #8]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_DPRINTF
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BCM2835_MBOX_TURBO_ON,8,3      ; @BCM2835_MBOX_TURBO_ON
	.comm	_BCM2835_MBOX_TURBO_OFF,8,3     ; @BCM2835_MBOX_TURBO_OFF
	.comm	_BCM2835_MBOX_CODE_REQ,4,2      ; @BCM2835_MBOX_CODE_REQ
	.comm	_BCM2835_MBOX_TAG_SET_TURBO,4,2 ; @BCM2835_MBOX_TAG_SET_TURBO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't set turbo\n"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"level = %d\n"

	.no_dead_strip	_bcm2835_cpufreq_set_turbo
.subsections_via_symbols
