	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secocec_cec_find_hdmi_dev
_secocec_cec_find_hdmi_dev:             ## @secocec_cec_find_hdmi_dev
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_secocec_dmi_match_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movl	$16, %r13d
	xorl	%ebx, %ebx
	movq	_DMI_SYS_VENDOR@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$24, %r13
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r14
	movl	(%r12), %edi
	movl	(%r14,%r13), %esi
	callq	_dmi_match
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMI_PRODUCT_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-4(%r14,%r13), %esi
	callq	_dmi_match
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	-8(%r14,%r13), %edx
	movq	_pci_bus_type@GOTPCREL(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_bus_find_device_by_name
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_put_device
	movq	-16(%r14,%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %edi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_secocec_dmi_match_table,8,3    ## @secocec_dmi_match_table
	.comm	_DMI_SYS_VENDOR,4,2             ## @DMI_SYS_VENDOR
	.comm	_DMI_PRODUCT_NAME,4,2           ## @DMI_PRODUCT_NAME
	.comm	_pci_bus_type,4,2               ## @pci_bus_type
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_secocec_cec_find_hdmi_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function secocec_cec_find_hdmi_dev
_secocec_cec_find_hdmi_dev:             ; @secocec_cec_find_hdmi_dev
	.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, x1
Lloh0:
	adrp	x20, _secocec_dmi_match_table@GOTPAGE
Lloh1:
	ldr	x20, [x20, _secocec_dmi_match_table@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh2:
	adrp	x23, _DMI_SYS_VENDOR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DMI_SYS_VENDOR@GOTPAGEOFF]
Lloh4:
	adrp	x24, _DMI_PRODUCT_NAME@GOTPAGE
Lloh5:
	ldr	x24, [x24, _DMI_PRODUCT_NAME@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	x21, x21, #24
	cmp	x22, w0, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x20]
	ldr	w0, [x23]
	add	x26, x25, x21
	ldr	w1, [x26, #16]
	bl	_dmi_match
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	ldr	w1, [x26, #12]
	bl	_dmi_match
	cbz	x0, LBB0_2
; %bb.5:
	add	x8, x25, x21
	ldr	w2, [x8, #8]
Lloh6:
	adrp	x0, _pci_bus_type@GOTPAGE
Lloh7:
	ldr	x0, [x0, _pci_bus_type@GOTPAGEOFF]
	mov	x1, #0
	bl	_bus_find_device_by_name
	cbz	x0, LBB0_9
; %bb.6:
	mov	x20, x0
	bl	_put_device
	ldr	x8, [x25, x21]
	str	x8, [x19]
	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
LBB0_7:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
LBB0_9:
Lloh10:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_secocec_dmi_match_table,8,3    ; @secocec_dmi_match_table
	.comm	_DMI_SYS_VENDOR,4,2             ; @DMI_SYS_VENDOR
	.comm	_DMI_PRODUCT_NAME,4,2           ; @DMI_PRODUCT_NAME
	.comm	_pci_bus_type,4,2               ; @pci_bus_type
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_secocec_cec_find_hdmi_dev
.subsections_via_symbols
