	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sti_hda_connector_get_modes
_sti_hda_connector_get_modes:           ## @sti_hda_connector_get_modes
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_to_sti_hda_connector
	movq	(%rax), %r13
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movq	_hda_supported_modes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r13), %edi
	movq	(%rbx), %rsi
	callq	_drm_mode_duplicate
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_drm_mode_vrefresh
	movl	%eax, 4(%rbx)
	movq	_DRM_MODE_TYPE_PREFERRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_drm_mode_probed_add
	movl	$1, %r15d
	jmp	LBB0_5
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
LBB0_5:
	movq	_hda_supported_modes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	cmpl	$2, %eax
	jb	LBB0_10
## %bb.6:
	movl	$1, %r14d
	movl	$4, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_hda_supported_modes@GOTPCREL(%rip), %rbx
	incq	%r14
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r12
	cmpq	%rax, %r14
	jae	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	(%rbx), %rsi
	addq	%r12, %rsi
	callq	_drm_mode_duplicate
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_drm_mode_vrefresh
	movl	%eax, 4(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_drm_mode_probed_add
	incl	%r15d
	jmp	LBB0_9
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %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	"\n"

	.comm	_hda_supported_modes,8,3        ## @hda_supported_modes
	.comm	_DRM_MODE_TYPE_PREFERRED,4,2    ## @DRM_MODE_TYPE_PREFERRED
	.no_dead_strip	_sti_hda_connector_get_modes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sti_hda_connector_get_modes
_sti_hda_connector_get_modes:           ; @sti_hda_connector_get_modes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_to_sti_hda_connector
	ldr	x22, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
Lloh2:
	adrp	x23, _hda_supported_modes@GOTPAGE
Lloh3:
	ldr	x23, [x23, _hda_supported_modes@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_8
; %bb.1:
	ldr	w0, [x22]
	ldr	x1, [x23]
	bl	_drm_mode_duplicate
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_drm_mode_vrefresh
Lloh4:
	adrp	x8, _DRM_MODE_TYPE_PREFERRED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRM_MODE_TYPE_PREFERRED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	stp	w8, w0, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_drm_mode_probed_add
	mov	w20, #1
LBB0_3:
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #2
	b.lo	LBB0_9
; %bb.4:
	mov	w24, #1
	mov	w25, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	add	x25, x25, #4
	cmp	x24, w0, uxtw
	b.hs	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	x8, [x23]
	add	x1, x8, x25
	bl	_drm_mode_duplicate
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	bl	_drm_mode_vrefresh
	str	w0, [x21, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_drm_mode_probed_add
	add	w20, w20, #1
	b	LBB0_5
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_hda_supported_modes,8,3        ; @hda_supported_modes
	.comm	_DRM_MODE_TYPE_PREFERRED,4,2    ; @DRM_MODE_TYPE_PREFERRED
	.no_dead_strip	_sti_hda_connector_get_modes
.subsections_via_symbols
