	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dc_set_base
_dc_set_base:                           ## @dc_set_base
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-72(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	%ebx, -72(%rbp)
	movl	%r15d, -68(%rbp)
	movl	%ebx, -64(%rbp)
	movl	%r15d, -60(%rbp)
	movq	4(%r12), %xmm0                  ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqu	%xmm0, -56(%rbp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_dc_parse_drm_format
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DRM_WARNING
	jmp	LBB0_3
LBB0_2:
	leaq	-72(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dc_setup_window
LBB0_3:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported pixel format %d\n"

	.no_dead_strip	_dc_set_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dc_set_base
_dc_set_base:                           ; @dc_set_base
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	stp	w22, w21, [sp]
	stp	w22, w21, [sp, #8]
	ldur	d0, [x20, #4]
	mov.d	v0[1], v0[0]
	str	q0, [sp, #16]
	mov	x1, sp
	mov	x0, x20
	bl	_dc_parse_drm_format
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_WARNING
	b	LBB0_3
LBB0_2:
	mov	x2, sp
	mov	x0, x19
	mov	w1, #0
	bl	_dc_setup_window
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported pixel format %d\n"

	.no_dead_strip	_dc_set_base
.subsections_via_symbols
