	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxm_match_dcb
_mxm_match_dcb:                         ## @mxm_match_dcb
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r12d
	addq	$8, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_mxms_output_device
	movq	(%rbx), %rax
	movl	(%rax), %eax
	andl	$15, %eax
	movl	$1, %r13d
	cmpl	8(%rbx), %eax
	jne	LBB0_10
## %bb.1:
	testb	$-32, %r12b
	je	LBB0_4
## %bb.2:
	movl	16(%rbx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mxm_sor_map
	movq	(%rbx), %rcx
	movl	%eax, %edx
	shll	$24, %edx
	xorl	(%rcx), %edx
	testl	$251658240, %edx                ## imm = 0xF000000
	jne	LBB0_10
## %bb.3:
	shrl	$4, %eax
	movl	4(%rcx), %ecx
	shrl	$4, %ecx
	notl	%ecx
	andl	%eax, %ecx
	testb	$3, %cl
	jne	LBB0_10
LBB0_4:
	movl	$-241, %ecx
	andl	(%r14), %ecx
	movl	%ecx, (%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$6, (%rax)
	jne	LBB0_8
## %bb.5:
	cmpl	$6, 12(%rbx)
	jne	LBB0_8
## %bb.6:
	movq	_mxm_match_tmds_partner@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	movq	%rbx, %rcx
	callq	_mxms_foreach
	movl	(%r14), %ecx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	orl	$32, %ecx
	jmp	LBB0_9
LBB0_8:
	orl	$240, %ecx
LBB0_9:
	movl	%ecx, (%r14)
	xorl	%r13d, %r13d
LBB0_10:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mxm_match_tmds_partner,4,2     ## @mxm_match_tmds_partner
	.no_dead_strip	_mxm_match_dcb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxm_match_dcb
_mxm_match_dcb:                         ; @mxm_match_dcb
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x23, [x8]
	ldr	w24, [x1]
	add	x22, x2, #8
	mov	x2, x22
	bl	_mxms_output_device
	ldr	x8, [x20]
	ldr	w8, [x8]
	and	w8, w8, #0xf
	ldr	w9, [x20, #8]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
	tst	w24, #0xe0
	b.eq	LBB0_5
; %bb.2:
	ldr	w1, [x20, #16]
	mov	x0, x23
	bl	_mxm_sor_map
	ldr	x8, [x20]
	ldr	w9, [x8]
	eor	w9, w9, w0, lsl #24
	tst	w9, #0xf000000
	b.ne	LBB0_4
; %bb.3:
	lsr	w9, w0, #4
	ldr	w8, [x8, #4]
	bic	w8, w9, w8, lsr #4
	tst	w8, #0x3
	b.eq	LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_11
LBB0_5:
	ldr	w8, [x19]
	and	w8, w8, #0xffffff0f
	str	w8, [x19]
	ldr	w9, [x22]
	cmp	w9, #6
	b.ne	LBB0_9
; %bb.6:
	ldr	w9, [x20, #12]
	cmp	w9, #6
	b.ne	LBB0_9
; %bb.7:
Lloh0:
	adrp	x8, _mxm_match_tmds_partner@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mxm_match_tmds_partner@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #1
	mov	x3, x20
	bl	_mxms_foreach
	ldr	w8, [x19]
	cbz	x0, LBB0_9
; %bb.8:
	orr	w8, w8, #0x20
	b	LBB0_10
LBB0_9:
	orr	w8, w8, #0xf0
LBB0_10:
	mov	w0, #0
	str	w8, [x19]
LBB0_11:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mxm_match_tmds_partner,4,2     ; @mxm_match_tmds_partner
	.no_dead_strip	_mxm_match_dcb
.subsections_via_symbols
