	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_video_bus_find_cap
_acpi_video_bus_find_cap:               ## @acpi_video_bus_find_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, (%rbx)
LBB0_2:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, 4(%rbx)
LBB0_4:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$1, 8(%rbx)
LBB0_6:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1, 12(%rbx)
LBB0_8:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	$1, 16(%rbx)
LBB0_10:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	$1, 20(%rbx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_DOS"

L_.str.1:                               ## @.str.1
	.asciz	"_DOD"

L_.str.2:                               ## @.str.2
	.asciz	"_ROM"

L_.str.3:                               ## @.str.3
	.asciz	"_GPD"

L_.str.4:                               ## @.str.4
	.asciz	"_SPD"

L_.str.5:                               ## @.str.5
	.asciz	"_VPO"

	.no_dead_strip	_acpi_video_bus_find_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_video_bus_find_cap
_acpi_video_bus_find_cap:               ; @acpi_video_bus_find_cap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_4:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_6:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_8:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_10:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x19, #20]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_DOS"

l_.str.1:                               ; @.str.1
	.asciz	"_DOD"

l_.str.2:                               ; @.str.2
	.asciz	"_ROM"

l_.str.3:                               ; @.str.3
	.asciz	"_GPD"

l_.str.4:                               ; @.str.4
	.asciz	"_SPD"

l_.str.5:                               ; @.str.5
	.asciz	"_VPO"

	.no_dead_strip	_acpi_video_bus_find_cap
.subsections_via_symbols
