	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sw_DescribePixelFormat         ## -- Begin function sw_DescribePixelFormat
	.p2align	4, 0x90
_sw_DescribePixelFormat:                ## @sw_DescribePixelFormat
	.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
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_format
	movq	-32(%rbp), %rdx
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	xorl	%ecx, %ecx
	cmpl	$128, %r15d
	jne	LBB0_5
## %bb.2:
	cmpq	%rbx, %rdx
	jl	LBB0_5
## %bb.3:
	movabsq	$4294967424, %rcx               ## imm = 0x100000080
	movq	%rcx, (%r14)
	movl	64(%rax), %ecx
	movl	%ecx, 124(%r14)
	movups	48(%rax), %xmm0
	movups	%xmm0, 108(%r14)
	movups	32(%rax), %xmm0
	movups	%xmm0, 92(%r14)
	movups	16(%rax), %xmm0
	movups	%xmm0, 76(%r14)
	movups	(%rax), %xmm0
	movups	%xmm0, 60(%r14)
	movq	_STENCIL_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	$0, 48(%r14)
	movq	_PFD_MAIN_PLANE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movups	%xmm0, 24(%r14)
LBB0_4:
	movq	%rdx, %rcx
LBB0_5:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Describing format %i.\n"

	.comm	_STENCIL_BITS,4,2               ## @STENCIL_BITS
	.comm	_PFD_MAIN_PLANE,4,2             ## @PFD_MAIN_PLANE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function sw_DescribePixelFormat
lCPI0_0:
	.long	128                             ; 0x80
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sw_DescribePixelFormat
	.p2align	2
_sw_DescribePixelFormat:                ; @sw_DescribePixelFormat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x1, sp, #8
	mov	x0, x20
	bl	_get_format
	ldr	x8, [sp, #8]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x1, #0
	cmp	w21, #128
	b.ne	LBB0_5
; %bb.2:
	cmp	x8, x20
	b.lt	LBB0_5
; %bb.3:
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	ldr	w9, [x0, #64]
	str	w9, [x19, #124]
	ldr	q0, [x0, #48]
	stur	q0, [x19, #108]
	ldr	q0, [x0, #32]
	stur	q0, [x19, #92]
	ldr	q0, [x0, #16]
	stur	q0, [x19, #76]
	ldr	q0, [x0]
Lloh4:
	adrp	x9, _STENCIL_BITS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _STENCIL_BITS@GOTPAGEOFF]
	stur	q0, [x19, #60]
Lloh6:
	ldr	w9, [x9]
	str	w9, [x19, #56]
	str	xzr, [x19, #48]
Lloh7:
	adrp	x9, _PFD_MAIN_PLANE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PFD_MAIN_PLANE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w9, [x19, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #8]
	stur	q0, [x19, #24]
LBB0_4:
	mov	x1, x8
LBB0_5:
	mov	x0, x1
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Describing format %i.\n"

	.comm	_STENCIL_BITS,4,2               ; @STENCIL_BITS
	.comm	_PFD_MAIN_PLANE,4,2             ; @PFD_MAIN_PLANE
.subsections_via_symbols
