	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_divide_count
_update_divide_count:                   ## @update_divide_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_APIC_TDCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_apic_get_reg
	movl	%eax, %ecx
	andl	$3, %ecx
	shrl	%eax
	andl	$4, %eax
	orl	%eax, %ecx
	incb	%cl
	andb	$7, %cl
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movl	%esi, (%rbx)
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_apic_debug                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_APIC_TDCR,4,2                  ## @APIC_TDCR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timer divide count is 0x%x\n"

	.no_dead_strip	_update_divide_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_divide_count
_update_divide_count:                   ; @update_divide_count
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _APIC_TDCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APIC_TDCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_apic_get_reg
	lsr	w8, w0, #1
	and	w8, w8, #0x4
	bfxil	w8, w0, #0, #2
	add	w8, w8, #1
	and	w8, w8, #0x7
	mov	w9, #1
	lsl	w1, w9, w8
	str	w1, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_apic_debug
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_APIC_TDCR,4,2                  ; @APIC_TDCR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timer divide count is 0x%x\n"

	.no_dead_strip	_update_divide_count
.subsections_via_symbols
