	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_client_get_tile_offsets
_drm_client_get_tile_offsets:           ## @drm_client_get_tile_offsets
	.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
	movl	%r9d, %ebx
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r15d
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%r15d, %r14d
	orl	%ebx, %r14d
	movl	%esi, %r12d
	xorl	%r13d, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%r13,8), %rax
	cmpl	$0, 12(%rax)
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdx,%r13,8), %rcx
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ebx, (%rax)
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addl	8(%rcx), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r15d, 4(%rax)
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	(%rcx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_11
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movslq	-52(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, (%rcx,%rax,8)
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 4(%rcx,%rax,8)
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	xorl	%eax, %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	"no modes for connector tiled %d %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"returned %d %d for %d %d\n"

	.no_dead_strip	_drm_client_get_tile_offsets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_client_get_tile_offsets
_drm_client_get_tile_offsets:           ; @drm_client_get_tile_offsets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x6
	mov	x19, x5
	str	w4, [sp, #28]                   ; 4-byte Folded Spill
	str	x3, [sp, #16]                   ; 8-byte Folded Spill
	cbz	w1, LBB0_11
; %bb.1:
	mov	x25, x2
	mov	x26, x0
	mov	x27, #0
	mov	w21, #0
	mov	w22, #0
	orr	w23, w20, w19
	mov	w24, w1
Lloh0:
	adrp	x28, l_.str@PAGE
Lloh1:
	add	x28, x28, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x8, #8]
	mov	x0, x28
	mov	x1, x27
	bl	_DRM_DEBUG_KMS
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
	cmp	x24, x27
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, x27, lsl #3]
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x25, x27, lsl #3]
	cbz	w23, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x9, LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x8]
	cmp	w10, w19
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x9, #8]
	add	w22, w22, w10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8, #4]
	cmp	w8, w20
	b.ge	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x9]
	add	w21, w21, w8
	b	LBB0_3
LBB0_11:
	mov	w22, #0
	mov	w21, #0
LBB0_12:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x8, x9, w8, sxtw #3
	stp	w22, w21, [x8]
	stp	x19, x20, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	mov	x2, x21
	bl	_DRM_DEBUG_KMS
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no modes for connector tiled %d %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"returned %d %d for %d %d\n"

	.no_dead_strip	_drm_client_get_tile_offsets
.subsections_via_symbols
