	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_get_default_swizzle_mode ## -- Begin function dcn20_get_default_swizzle_mode
	.p2align	4, 0x90
_dcn20_get_default_swizzle_mode:        ## @dcn20_get_default_swizzle_mode
	.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	_DC_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rdi), %edi
	callq	_resource_pixel_format_to_bpp
	cmpl	$64, %eax
	jne	LBB0_1
## %bb.2:
	movq	_DC_SW_64KB_D@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DC_SW_64KB_S@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_OK,4,2                      ## @DC_OK
	.comm	_DC_SW_LINEAR,4,2               ## @DC_SW_LINEAR
	.comm	_DC_SW_64KB_D,4,2               ## @DC_SW_64KB_D
	.comm	_DC_SW_64KB_S,4,2               ## @DC_SW_64KB_S
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_get_default_swizzle_mode ; -- Begin function dcn20_get_default_swizzle_mode
	.p2align	2
_dcn20_get_default_swizzle_mode:        ; @dcn20_get_default_swizzle_mode
	.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	x8, _DC_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w0, [x0]
	bl	_resource_pixel_format_to_bpp
Lloh3:
	adrp	x8, _DC_SW_64KB_D@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC_SW_64KB_D@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DC_SW_64KB_S@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DC_SW_64KB_S@GOTPAGEOFF]
	cmp	w0, #64
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_OK,4,2                      ; @DC_OK
	.comm	_DC_SW_LINEAR,4,2               ; @DC_SW_LINEAR
	.comm	_DC_SW_64KB_D,4,2               ; @DC_SW_64KB_D
	.comm	_DC_SW_64KB_S,4,2               ; @DC_SW_64KB_S
.subsections_via_symbols
