	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oled_max_chars                 ## -- Begin function oled_max_chars
	.p2align	4, 0x90
_oled_max_chars:                        ## @oled_max_chars
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_oled_rotation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OLED_ROTATION_90@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HAS_FLAGS
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_OLED_DISPLAY_WIDTH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OLED_DISPLAY_HEIGHT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_OLED_FONT_WIDTH@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_oled_rotation,4,2              ## @oled_rotation
	.comm	_OLED_ROTATION_90,4,2           ## @OLED_ROTATION_90
	.comm	_OLED_DISPLAY_WIDTH,4,2         ## @OLED_DISPLAY_WIDTH
	.comm	_OLED_FONT_WIDTH,4,2            ## @OLED_FONT_WIDTH
	.comm	_OLED_DISPLAY_HEIGHT,4,2        ## @OLED_DISPLAY_HEIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oled_max_chars                 ; -- Begin function oled_max_chars
	.p2align	2
_oled_max_chars:                        ; @oled_max_chars
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _oled_rotation@GOTPAGE
Lloh1:
	ldr	x8, [x8, _oled_rotation@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OLED_ROTATION_90@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OLED_ROTATION_90@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_HAS_FLAGS
Lloh6:
	adrp	x8, _OLED_DISPLAY_WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OLED_DISPLAY_WIDTH@GOTPAGEOFF]
Lloh8:
	adrp	x9, _OLED_DISPLAY_HEIGHT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OLED_DISPLAY_HEIGHT@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _OLED_FONT_WIDTH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OLED_FONT_WIDTH@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	sdiv	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_oled_rotation,4,2              ; @oled_rotation
	.comm	_OLED_ROTATION_90,4,2           ; @OLED_ROTATION_90
	.comm	_OLED_DISPLAY_WIDTH,4,2         ; @OLED_DISPLAY_WIDTH
	.comm	_OLED_FONT_WIDTH,4,2            ; @OLED_FONT_WIDTH
	.comm	_OLED_DISPLAY_HEIGHT,4,2        ; @OLED_DISPLAY_HEIGHT
.subsections_via_symbols
