	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function playlist_thumbnail_mode_right
_playlist_thumbnail_mode_right:         ## @playlist_thumbnail_mode_right
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_playlist_get_thumbnail_mode
                                        ## kill: def $eax killed $eax def $rax
	movq	_PLAYLIST_THUMBNAIL_MODE_BOXARTS@GOTPCREL(%rip), %rcx
	leal	1(%rax), %esi
	movl	%eax, %edx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_2:
	cmpl	(%rcx), %eax
	cmovbl	%esi, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_playlist_set_thumbnail_mode
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_playlist_write_file            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PLAYLIST_THUMBNAIL_MODE_BOXARTS,4,2 ## @PLAYLIST_THUMBNAIL_MODE_BOXARTS
	.comm	_PLAYLIST_THUMBNAIL_MODE_DEFAULT,4,2 ## @PLAYLIST_THUMBNAIL_MODE_DEFAULT
	.no_dead_strip	_playlist_thumbnail_mode_right
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function playlist_thumbnail_mode_right
_playlist_thumbnail_mode_right:         ; @playlist_thumbnail_mode_right
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_playlist_get_thumbnail_mode
Lloh0:
	adrp	x8, _PLAYLIST_THUMBNAIL_MODE_BOXARTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLAYLIST_THUMBNAIL_MODE_BOXARTS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w9, w0, w9, eq
	cmp	w0, w8
	csinc	w2, w9, w0, hs
	mov	x0, x21
	mov	x1, x20
	bl	_playlist_set_thumbnail_mode
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_playlist_write_file
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PLAYLIST_THUMBNAIL_MODE_BOXARTS,4,2 ; @PLAYLIST_THUMBNAIL_MODE_BOXARTS
	.comm	_PLAYLIST_THUMBNAIL_MODE_DEFAULT,4,2 ; @PLAYLIST_THUMBNAIL_MODE_DEFAULT
	.no_dead_strip	_playlist_thumbnail_mode_right
.subsections_via_symbols
