	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_sdl_pix_fmt_and_blendmode
_get_sdl_pix_fmt_and_blendmode:         ## @get_sdl_pix_fmt_and_blendmode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	_SDL_BLENDMODE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movq	_SDL_PIXELFORMAT_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	movq	_AV_PIX_FMT_RGB32@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_AV_PIX_FMT_RGB32_1@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_AV_PIX_FMT_BGR32@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_AV_PIX_FMT_BGR32_1@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_5
LBB0_4:
	movq	_SDL_BLENDMODE_BLEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
LBB0_5:
	movq	_sdl_texture_format_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	cmpl	%r12d, (%rdi,%rbx,8)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	callq	_FF_ARRAY_ELEMS
	decl	%eax
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_7
	jmp	LBB0_10
LBB0_8:
	movl	4(%rdi,%rbx,8), %eax
	movl	%eax, (%r14)
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDL_BLENDMODE_NONE,4,2         ## @SDL_BLENDMODE_NONE
	.comm	_SDL_PIXELFORMAT_UNKNOWN,4,2    ## @SDL_PIXELFORMAT_UNKNOWN
	.comm	_AV_PIX_FMT_RGB32,4,2           ## @AV_PIX_FMT_RGB32
	.comm	_AV_PIX_FMT_RGB32_1,4,2         ## @AV_PIX_FMT_RGB32_1
	.comm	_AV_PIX_FMT_BGR32,4,2           ## @AV_PIX_FMT_BGR32
	.comm	_AV_PIX_FMT_BGR32_1,4,2         ## @AV_PIX_FMT_BGR32_1
	.comm	_SDL_BLENDMODE_BLEND,4,2        ## @SDL_BLENDMODE_BLEND
	.comm	_sdl_texture_format_map,8,3     ## @sdl_texture_format_map
	.no_dead_strip	_get_sdl_pix_fmt_and_blendmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_sdl_pix_fmt_and_blendmode
_get_sdl_pix_fmt_and_blendmode:         ; @get_sdl_pix_fmt_and_blendmode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SDL_BLENDMODE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDL_BLENDMODE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2]
Lloh3:
	adrp	x8, _SDL_PIXELFORMAT_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDL_PIXELFORMAT_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x1]
Lloh6:
	adrp	x8, _AV_PIX_FMT_RGB32@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_PIX_FMT_RGB32@GOTPAGEOFF]
Lloh8:
	adrp	x9, _AV_PIX_FMT_RGB32_1@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_PIX_FMT_RGB32_1@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _AV_PIX_FMT_BGR32@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AV_PIX_FMT_BGR32@GOTPAGEOFF]
Lloh14:
	adrp	x11, _AV_PIX_FMT_BGR32_1@GOTPAGE
Lloh15:
	ldr	x11, [x11, _AV_PIX_FMT_BGR32_1@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	ldr	w11, [x11]
	cmp	w8, w0
	ccmp	w9, w0, #4, ne
	ccmp	w10, w0, #4, ne
	ccmp	w11, w0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh18:
	adrp	x8, _SDL_BLENDMODE_BLEND@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SDL_BLENDMODE_BLEND@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x2]
LBB0_2:
Lloh21:
	adrp	x21, _sdl_texture_format_map@GOTPAGE
Lloh22:
	ldr	x21, [x21, _sdl_texture_format_map@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.3:
	mov	x22, #0
	mov	x23, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	ldr	w8, [x0, x22]
	cmp	w8, w20
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	bl	_FF_ARRAY_ELEMS
	sub	w8, w0, #1
	add	x22, x22, #8
	cmp	x23, w8, sxtw
	b.lt	LBB0_4
	b	LBB0_7
LBB0_6:
	add	x8, x0, x22
	ldr	w8, [x8, #4]
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SDL_BLENDMODE_NONE,4,2         ; @SDL_BLENDMODE_NONE
	.comm	_SDL_PIXELFORMAT_UNKNOWN,4,2    ; @SDL_PIXELFORMAT_UNKNOWN
	.comm	_AV_PIX_FMT_RGB32,4,2           ; @AV_PIX_FMT_RGB32
	.comm	_AV_PIX_FMT_RGB32_1,4,2         ; @AV_PIX_FMT_RGB32_1
	.comm	_AV_PIX_FMT_BGR32,4,2           ; @AV_PIX_FMT_BGR32
	.comm	_AV_PIX_FMT_BGR32_1,4,2         ; @AV_PIX_FMT_BGR32_1
	.comm	_SDL_BLENDMODE_BLEND,4,2        ; @SDL_BLENDMODE_BLEND
	.comm	_sdl_texture_format_map,8,3     ; @sdl_texture_format_map
	.no_dead_strip	_get_sdl_pix_fmt_and_blendmode
.subsections_via_symbols
