	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function agraph_set_zoom
_agraph_set_zoom:                       ## @agraph_set_zoom
	.cfi_startproc
## %bb.0:
	cmpl	$-10, %esi
	jl	LBB0_8
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rdi)
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	js	LBB0_4
## %bb.5:
	movq	_R_AGRAPH_MODE_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_R_AGRAPH_MODE_MINI@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	jmp	LBB0_7
LBB0_4:
	movq	_R_AGRAPH_MODE_TINY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movl	$1, (%rdi)
LBB0_7:
	cmpl	%esi, 4(%rdi)
	movq	16(%rdi), %r8
	movl	$920, %ecx                      ## imm = 0x398
	movl	$1000, %edx                     ## imm = 0x3E8
	movl	$1000, %eax                     ## imm = 0x3E8
	cmovll	%ecx, %eax
	cmovll	%edx, %ecx
	imull	(%r8), %eax
	cltd
	idivl	%ecx
	movl	%eax, (%r8)
	movl	%esi, 4(%rdi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rdi)
	popq	%rbp
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_AGRAPH_MODE_MINI,4,2         ## @R_AGRAPH_MODE_MINI
	.comm	_R_AGRAPH_MODE_TINY,4,2         ## @R_AGRAPH_MODE_TINY
	.comm	_R_AGRAPH_MODE_NORMAL,4,2       ## @R_AGRAPH_MODE_NORMAL
	.no_dead_strip	_agraph_set_zoom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function agraph_set_zoom
_agraph_set_zoom:                       ; @agraph_set_zoom
	.cfi_startproc
; %bb.0:
	cmn	w1, #10
	b.lt	LBB0_8
; %bb.1:
	str	wzr, [x0]
	cbz	w1, LBB0_4
; %bb.2:
	tbnz	w1, #31, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _R_AGRAPH_MODE_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_AGRAPH_MODE_NORMAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _R_AGRAPH_MODE_MINI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R_AGRAPH_MODE_MINI@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x8, _R_AGRAPH_MODE_TINY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _R_AGRAPH_MODE_TINY@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	mov	w8, #1
	str	w8, [x0]
LBB0_7:
	ldr	w8, [x0, #4]
	ldr	x9, [x0, #16]
	ldr	w10, [x9]
	mov	w11, #1000
	mov	w12, #920
	cmp	w8, w1
	csel	w8, w12, w11, lt
	csel	w11, w11, w12, lt
	mul	w8, w10, w8
	sdiv	w8, w8, w11
	str	w8, [x9]
	str	w1, [x0, #4]
	movi.2s	v0, #1
	str	d0, [x0, #8]
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_R_AGRAPH_MODE_MINI,4,2         ; @R_AGRAPH_MODE_MINI
	.comm	_R_AGRAPH_MODE_TINY,4,2         ; @R_AGRAPH_MODE_TINY
	.comm	_R_AGRAPH_MODE_NORMAL,4,2       ; @R_AGRAPH_MODE_NORMAL
	.no_dead_strip	_agraph_set_zoom
.subsections_via_symbols
