	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cobalt_enum_output
_cobalt_enum_output:                    ## @cobalt_enum_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r14
	movl	12(%rdx), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	movl	$4, %esi
	xorl	%ecx, %ecx
	callq	_snprintf
	movq	_V4L2_OUTPUT_TYPE_ANALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_V4L2_OUT_CAP_DV_TIMINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDMI-%d"

	.comm	_V4L2_OUTPUT_TYPE_ANALOG,4,2    ## @V4L2_OUTPUT_TYPE_ANALOG
	.comm	_V4L2_OUT_CAP_DV_TIMINGS,4,2    ## @V4L2_OUT_CAP_DV_TIMINGS
	.no_dead_strip	_cobalt_enum_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cobalt_enum_output
_cobalt_enum_output:                    ; @cobalt_enum_output
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x2]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x2
	ldr	w0, [x2, #12]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	mov	w3, #0
	bl	_snprintf
	mov	w0, #0
Lloh5:
	adrp	x8, _V4L2_OUTPUT_TYPE_ANALOG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_OUTPUT_TYPE_ANALOG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _V4L2_OUT_CAP_DV_TIMINGS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_OUT_CAP_DV_TIMINGS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDMI-%d"

	.comm	_V4L2_OUTPUT_TYPE_ANALOG,4,2    ; @V4L2_OUTPUT_TYPE_ANALOG
	.comm	_V4L2_OUT_CAP_DV_TIMINGS,4,2    ; @V4L2_OUT_CAP_DV_TIMINGS
	.no_dead_strip	_cobalt_enum_output
.subsections_via_symbols
