	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoDrawSetOutFormat32x        ## -- Begin function PicoDrawSetOutFormat32x
	.p2align	4, 0x90
_PicoDrawSetOutFormat32x:               ## @PicoDrawSetOutFormat32x
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_PDF_RGB555@GOTPCREL(%rip), %r14
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	cmpq	%rbx, (%r14)
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_PicoDrawSetInternalBuf
	movq	_PDM32X_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_PicoDraw2FB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$328, %esi                      ## imm = 0x148
	callq	_PicoDrawSetInternalBuf
	cmpq	%rbx, (%r14)
	jne	LBB0_4
## %bb.5:
	movq	_PDM32X_32X_ONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_PDM32X_BOTH@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	_Pico32xDrawMode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PDF_RGB555,8,3                 ## @PDF_RGB555
	.comm	_PDM32X_OFF,4,2                 ## @PDM32X_OFF
	.comm	_Pico32xDrawMode,4,2            ## @Pico32xDrawMode
	.comm	_PicoDraw2FB,8,3                ## @PicoDraw2FB
	.comm	_PDM32X_32X_ONLY,4,2            ## @PDM32X_32X_ONLY
	.comm	_PDM32X_BOTH,4,2                ## @PDM32X_BOTH
	.comm	_Pico32xMem,8,3                 ## @Pico32xMem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoDrawSetOutFormat32x        ; -- Begin function PicoDrawSetOutFormat32x
	.p2align	2
_PicoDrawSetOutFormat32x:               ; @PicoDrawSetOutFormat32x
	.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	x20, _PDF_RGB555@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PDF_RGB555@GOTPAGEOFF]
	cbz	w1, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x19
	b.ne	LBB0_3
; %bb.2:
	mov	x0, #0
	mov	w1, #0
	bl	_PicoDrawSetInternalBuf
Lloh2:
	adrp	x8, _PDM32X_OFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PDM32X_OFF@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _PicoDraw2FB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PicoDraw2FB@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	mov	w1, #328
	bl	_PicoDrawSetInternalBuf
Lloh7:
	adrp	x8, _PDM32X_32X_ONLY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PDM32X_32X_ONLY@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh9:
	adrp	x10, _PDM32X_BOTH@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PDM32X_BOTH@GOTPAGEOFF]
	cmp	x9, x19
	csel	x8, x8, x10, eq
LBB0_4:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _Pico32xDrawMode@GOTPAGE
Lloh12:
	ldr	x9, [x9, _Pico32xDrawMode@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PDF_RGB555,8,3                 ; @PDF_RGB555
	.comm	_PDM32X_OFF,4,2                 ; @PDM32X_OFF
	.comm	_Pico32xDrawMode,4,2            ; @Pico32xDrawMode
	.comm	_PicoDraw2FB,8,3                ; @PicoDraw2FB
	.comm	_PDM32X_32X_ONLY,4,2            ; @PDM32X_32X_ONLY
	.comm	_PDM32X_BOTH,4,2                ; @PDM32X_BOTH
	.comm	_Pico32xMem,8,3                 ; @Pico32xMem
.subsections_via_symbols
