	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hubbub1_get_dcc_compression_cap
_hubbub1_get_dcc_compression_cap:       ## @hubbub1_get_dcc_compression_cap
	.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, %r15
	movq	%rsi, %r12
	callq	_TO_DCN10_HUBBUB
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	(%rax), %r13
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movq	(%r13), %rax
	movq	_DCC_DISABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.1:
	movq	(%rbx), %rax
	movl	20(%r12), %edi
	leaq	-52(%rbp), %rsi
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_21
## %bb.2:
	movq	(%rbx), %rax
	movl	16(%r12), %edi
	movl	-52(%rbp), %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_21
## %bb.3:
	movl	8(%r12), %esi
	movl	12(%r12), %edi
	movl	-52(%rbp), %edx
	leaq	-60(%rbp), %rcx
	leaq	-56(%rbp), %r8
	callq	_hubbub1_det_request_size
	movl	-60(%rbp), %eax
	movl	-56(%rbp), %ecx
	movl	%eax, %edx
	orl	%ecx, %edx
	je	LBB0_22
## %bb.4:
	movq	(%r12), %rdx
	movq	_SCAN_DIRECTION_HORIZONTAL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_8
## %bb.5:
	testl	%eax, %eax
	je	LBB0_22
## %bb.6:
	movl	-48(%rbp), %eax
	jmp	LBB0_7
LBB0_8:
	movq	_SCAN_DIRECTION_VERTICAL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_11
## %bb.9:
	testl	%ecx, %ecx
	je	LBB0_22
## %bb.10:
	movl	-44(%rbp), %eax
LBB0_7:
	movq	_segment_order__contiguous@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%al
	addb	%al, %al
	orb	$-128, %al
	jmp	LBB0_16
LBB0_22:
	movl	$256, 8(%r15)                   ## imm = 0x100
	xorl	%eax, %eax
	movl	$256, %ecx                      ## imm = 0x100
LBB0_20:
	movl	%ecx, 12(%r15)
	movl	%eax, 16(%r15)
	movq	$1, (%r15)
	movl	$1, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	-48(%rbp), %edx
	movq	_segment_order__non_contiguous@GOTPCREL(%rip), %rsi
	movb	$-128, %al
	cmpl	(%rsi), %edx
	je	LBB0_16
LBB0_13:
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.14:
	movl	-44(%rbp), %ecx
	movq	_segment_order__non_contiguous@GOTPCREL(%rip), %rdx
	movb	$-128, %al
	cmpl	(%rdx), %ecx
	je	LBB0_16
LBB0_15:
	movb	$-126, %al
LBB0_16:
	movq	(%r13), %rcx
	movq	_DCC_HALF_REQ_DISALBE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_21
## %bb.17:
	testb	$2, %al
	jne	LBB0_18
## %bb.19:
	movl	$256, 8(%r15)                   ## imm = 0x100
	movl	$1, %eax
	movl	$64, %ecx
	jmp	LBB0_20
LBB0_18:
	movl	$128, 8(%r15)
	xorl	%eax, %eax
	movl	$128, %ecx
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_DCC_DISABLE,8,3                ## @DCC_DISABLE
	.comm	_SCAN_DIRECTION_HORIZONTAL,8,3  ## @SCAN_DIRECTION_HORIZONTAL
	.comm	_segment_order__contiguous,4,2  ## @segment_order__contiguous
	.comm	_SCAN_DIRECTION_VERTICAL,8,3    ## @SCAN_DIRECTION_VERTICAL
	.comm	_segment_order__non_contiguous,4,2 ## @segment_order__non_contiguous
	.comm	_DCC_HALF_REQ_DISALBE,8,3       ## @DCC_HALF_REQ_DISALBE
	.no_dead_strip	_hubbub1_get_dcc_compression_cap
.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 hubbub1_get_dcc_compression_cap
lCPI0_0:
	.long	256                             ; 0x100
	.long	64                              ; 0x40
lCPI0_1:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hubbub1_get_dcc_compression_cap:       ; @hubbub1_get_dcc_compression_cap
	.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	x19, x2
	mov	x20, x1
	bl	_TO_DCN10_HUBBUB
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	mov	w0, #0
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _DCC_DISABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCC_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w0, [x20, #20]
	add	x1, sp, #28
	blr	x8
	cbz	w0, LBB0_21
; %bb.2:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w0, [x20, #16]
	ldr	w1, [sp, #28]
	add	x2, sp, #24
	add	x3, sp, #20
	blr	x8
	cbz	w0, LBB0_21
; %bb.3:
	ldp	w1, w0, [x20, #8]
	ldr	w2, [sp, #28]
	add	x3, sp, #16
	add	x4, sp, #12
	bl	_hubbub1_det_request_size
	ldp	w8, w9, [sp, #12]
	movi.2s	v0, #1, lsl #8
	orr	w10, w9, w8
	cbz	w10, LBB0_7
; %bb.4:
	ldr	x10, [x20]
Lloh3:
	adrp	x11, _SCAN_DIRECTION_HORIZONTAL@GOTPAGE
Lloh4:
	ldr	x11, [x11, _SCAN_DIRECTION_HORIZONTAL@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.5:
	cbz	w9, LBB0_7
; %bb.6:
	ldr	w8, [sp, #24]
	b	LBB0_11
LBB0_7:
	mov	w8, #0
	b	LBB0_20
LBB0_8:
Lloh6:
	adrp	x11, _SCAN_DIRECTION_VERTICAL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SCAN_DIRECTION_VERTICAL@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_12
; %bb.9:
	cbz	w8, LBB0_20
; %bb.10:
	ldr	w8, [sp, #20]
LBB0_11:
Lloh9:
	adrp	x9, _segment_order__contiguous@GOTPAGE
Lloh10:
	ldr	x9, [x9, _segment_order__contiguous@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	mov	w10, #-2
	cmp	w8, w9
	csel	w8, w10, wzr, eq
	b	LBB0_17
LBB0_12:
Lloh12:
	adrp	x10, _segment_order__non_contiguous@GOTPAGE
Lloh13:
	ldr	x10, [x10, _segment_order__non_contiguous@GOTPAGEOFF]
	cbz	w9, LBB0_14
; %bb.13:
	ldr	w9, [sp, #24]
	ldr	w11, [x10]
	cmp	w9, w11
	b.eq	LBB0_16
LBB0_14:
	cbz	w8, LBB0_22
; %bb.15:
	ldr	w8, [sp, #20]
	ldr	w9, [x10]
	cmp	w8, w9
	b.ne	LBB0_22
LBB0_16:
	mov	w8, #0
LBB0_17:
	ldr	x9, [x22]
Lloh14:
	adrp	x10, _DCC_HALF_REQ_DISALBE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _DCC_HALF_REQ_DISALBE@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.18:
	mov	w0, #0
	b	LBB0_21
LBB0_19:
	fmov	s0, wzr
	movi.16b	v1, #3
	and.16b	v0, v0, v1
	fmov	s2, w8
	and.16b	v1, v2, v1
	cmeq.16b	v0, v1, v0
	umov.b	w9, v0[0]
	dup.16b	v0, v0[0]
	umov.b	w10, v0[1]
	and	w9, w9, #0x3
	and	w10, w10, #0x3
	bfi	w9, w10, #2, #2
	umov.b	w10, v0[2]
	and	w10, w10, #0x3
	bfi	w9, w10, #4, #2
	umov.b	w10, v0[3]
	and	w10, w10, #0x3
	umov.b	w11, v0[4]
	bfi	w9, w10, #6, #2
	and	w10, w11, #0x3
	bfi	w9, w10, #8, #2
	umov.b	w10, v0[5]
	and	w10, w10, #0x3
	bfi	w9, w10, #10, #2
	umov.b	w10, v0[6]
	and	w10, w10, #0x3
	umov.b	w11, v0[7]
	orr	w9, w9, w10, lsl #12
	and	w10, w11, #0x3
	orr	w9, w9, w10, lsl #14
	umov.b	w10, v0[8]
	and	w10, w10, #0x3
	orr	w9, w9, w10, lsl #16
	umov.b	w10, v0[9]
	and	w10, w10, #0x3
	umov.b	w11, v0[10]
	orr	w9, w9, w10, lsl #18
	and	w10, w11, #0x3
	orr	w9, w9, w10, lsl #20
	umov.b	w10, v0[11]
	and	w10, w10, #0x3
	orr	w9, w9, w10, lsl #22
	umov.b	w10, v0[12]
	and	w10, w10, #0x3
	umov.b	w11, v0[13]
	orr	w9, w9, w10, lsl #24
	and	w10, w11, #0x3
	orr	w9, w9, w10, lsl #26
	umov.b	w10, v0[14]
	and	w10, w10, #0x3
	orr	w9, w9, w10, lsl #28
	umov.b	w10, v0[15]
	orr	w9, w9, w10, lsl #30
	bfi	x9, x9, #32, #32
	fmov	d0, x9
Lloh17:
	adrp	x9, lCPI0_0@PAGE
Lloh18:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	movi.2s	v2, #128
	bsl.8b	v0, v1, v2
	tst	w8, #0x3
	cset	w8, eq
LBB0_20:
	str	w8, [x19, #16]
Lloh19:
	adrp	x8, lCPI0_1@PAGE
Lloh20:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	stp	d1, d0, [x19]
	mov	w0, #1
LBB0_21:
	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
LBB0_22:
	mov	w8, #0
	mov	w0, #0
	ldr	x9, [x22]
Lloh21:
	adrp	x10, _DCC_HALF_REQ_DISALBE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _DCC_HALF_REQ_DISALBE@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	movi.2s	v0, #128
	cmp	x9, x10
	b.eq	LBB0_21
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_DCC_DISABLE,8,3                ; @DCC_DISABLE
	.comm	_SCAN_DIRECTION_HORIZONTAL,8,3  ; @SCAN_DIRECTION_HORIZONTAL
	.comm	_segment_order__contiguous,4,2  ; @segment_order__contiguous
	.comm	_SCAN_DIRECTION_VERTICAL,8,3    ; @SCAN_DIRECTION_VERTICAL
	.comm	_segment_order__non_contiguous,4,2 ; @segment_order__non_contiguous
	.comm	_DCC_HALF_REQ_DISALBE,8,3       ; @DCC_HALF_REQ_DISALBE
	.no_dead_strip	_hubbub1_get_dcc_compression_cap
.subsections_via_symbols
