	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_component_create_null_sink
_mmal_component_create_null_sink:       ## @mmal_component_create_null_sink
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_MMAL_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_MMAL_PARAM_UNUSED
	movq	16(%rbx), %rax
	movq	_null_sink_component_destroy@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_NULLSINK_PORTS_NUM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MMAL_PORT_TYPE_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_mmal_ports_alloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	(%r15), %ecx
	movl	%ecx, (%rbx)
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	xorl	%edx, %edx
	movq	_null_sink_port_enable@GOTPCREL(%rip), %r8
	movq	_null_sink_port_disable@GOTPCREL(%rip), %r9
	movq	_null_sink_port_flush@GOTPCREL(%rip), %r10
	movq	_null_sink_port_send@GOTPCREL(%rip), %r11
	movq	_null_sink_port_format_commit@GOTPCREL(%rip), %r14
	movabsq	$4294967297, %r15               ## imm = 0x100000001
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %esi
	movq	(%rax,%rdx,8), %rdi
	movq	8(%rdi), %rbx
	movl	%esi, 16(%rbx)
	movl	(%r9), %esi
	movl	%esi, 12(%rbx)
	movl	(%r10), %esi
	movl	%esi, 8(%rbx)
	movl	(%r11), %esi
	movl	%esi, 4(%rbx)
	movl	(%r14), %esi
	movl	%esi, (%rbx)
	movq	%r15, (%rdi)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
LBB0_4:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_null_sink_component_destroy
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_ENOMEM,4,2                ## @MMAL_ENOMEM
	.comm	_NULLSINK_PORTS_NUM,4,2         ## @NULLSINK_PORTS_NUM
	.comm	_MMAL_PORT_TYPE_INPUT,4,2       ## @MMAL_PORT_TYPE_INPUT
	.comm	_null_sink_port_enable,4,2      ## @null_sink_port_enable
	.comm	_null_sink_port_disable,4,2     ## @null_sink_port_disable
	.comm	_null_sink_port_flush,4,2       ## @null_sink_port_flush
	.comm	_null_sink_port_send,4,2        ## @null_sink_port_send
	.comm	_null_sink_port_format_commit,4,2 ## @null_sink_port_format_commit
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_mmal_component_create_null_sink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_component_create_null_sink
_mmal_component_create_null_sink:       ; @mmal_component_create_null_sink
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
Lloh0:
	adrp	x8, _MMAL_ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_MMAL_PARAM_UNUSED
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _null_sink_component_destroy@GOTPAGE
Lloh4:
	ldr	x9, [x9, _null_sink_component_destroy@GOTPAGEOFF]
	str	x9, [x8]
Lloh5:
	adrp	x21, _NULLSINK_PORTS_NUM@GOTPAGE
Lloh6:
	ldr	x21, [x21, _NULLSINK_PORTS_NUM@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _MMAL_PORT_TYPE_INPUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MMAL_PORT_TYPE_INPUT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_mmal_ports_alloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x21]
	str	w8, [x20]
	cbz	w8, LBB0_4
; %bb.2:
Lloh10:
	adrp	x9, _null_sink_port_enable@GOTPAGE
Lloh11:
	ldr	x9, [x9, _null_sink_port_enable@GOTPAGEOFF]
Lloh12:
	adrp	x10, _null_sink_port_disable@GOTPAGE
Lloh13:
	ldr	x10, [x10, _null_sink_port_disable@GOTPAGEOFF]
Lloh14:
	adrp	x11, _null_sink_port_flush@GOTPAGE
Lloh15:
	ldr	x11, [x11, _null_sink_port_flush@GOTPAGEOFF]
Lloh16:
	adrp	x12, _null_sink_port_send@GOTPAGE
Lloh17:
	ldr	x12, [x12, _null_sink_port_send@GOTPAGEOFF]
	movi.2s	v0, #1
Lloh18:
	adrp	x13, _null_sink_port_format_commit@GOTPAGE
Lloh19:
	ldr	x13, [x13, _null_sink_port_format_commit@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x9]
	ldr	x15, [x0], #8
	ldr	x16, [x15, #8]
	str	w14, [x16, #16]
	ldr	w14, [x10]
	ldr	w17, [x11]
	stp	w17, w14, [x16, #8]
	ldr	w14, [x12]
	ldr	w17, [x13]
	stp	w17, w14, [x16]
	str	d0, [x15]
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_4:
Lloh20:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_null_sink_component_destroy
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_ENOMEM,4,2                ; @MMAL_ENOMEM
	.comm	_NULLSINK_PORTS_NUM,4,2         ; @NULLSINK_PORTS_NUM
	.comm	_MMAL_PORT_TYPE_INPUT,4,2       ; @MMAL_PORT_TYPE_INPUT
	.comm	_null_sink_port_enable,4,2      ; @null_sink_port_enable
	.comm	_null_sink_port_disable,4,2     ; @null_sink_port_disable
	.comm	_null_sink_port_flush,4,2       ; @null_sink_port_flush
	.comm	_null_sink_port_send,4,2        ; @null_sink_port_send
	.comm	_null_sink_port_format_commit,4,2 ; @null_sink_port_format_commit
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_mmal_component_create_null_sink
.subsections_via_symbols
