	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_create
_do_create:                             ## @do_create
	.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
	cmpl	$3, %edi
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	16(%rsi), %rdi
	leaq	-16(%rbp), %rsi
	callq	_mmal_component_create
	cmpq	$0, -16(%rbp)
	je	LBB0_3
## %bb.2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_4
LBB0_3:
	movq	16(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	leaq	L_str.4(%rip), %rdi
	callq	_puts
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"Failed to create %s: %d\n"

L_str:                                  ## @str
	.asciz	"Created component"

L_str.4:                                ## @str.4
	.asciz	"usage: mmal-vc-diag create <name>"

L_str.5:                                ## @str.5
	.asciz	"   e.g. vc.camera"

	.no_dead_strip	_do_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_create
_do_create:                             ; @do_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w0, #3
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x0, [x1, #16]
	add	x1, sp, #24
	bl	_mmal_component_create
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #16]
	stp	x8, x0, [sp]
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
Lloh4:
	adrp	x0, l_str.4@PAGE
Lloh5:
	add	x0, x0, l_str.4@PAGEOFF
	bl	_puts
Lloh6:
	adrp	x0, l_str.5@PAGE
Lloh7:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"Failed to create %s: %d\n"

l_str:                                  ; @str
	.asciz	"Created component"

l_str.4:                                ; @str.4
	.asciz	"usage: mmal-vc-diag create <name>"

l_str.5:                                ; @str.5
	.asciz	"   e.g. vc.camera"

	.no_dead_strip	_do_create
.subsections_via_symbols
