	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svp_bh_output_cb
_svp_bh_output_cb:                      ## @svp_bh_output_cb
	.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
	movq	%rsi, %rbx
	movq	8(%rdi), %r14
	cmpq	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.5:
	leaq	8(%r14), %rdi
	movq	_SVP_WATCHDOG_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vcos_timer_set
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	callq	_mmal_queue_put
	jmp	LBB0_6
LBB0_1:
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_LOG_TRACE
	movq	_SVP_STOP_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_svp_set_stop
	jmp	LBB0_4
LBB0_3:
	movl	(%rdi), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG_ERROR
LBB0_4:
	movq	%rbx, %rdi
	callq	_mmal_buffer_header_release
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vcos_semaphore_post            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: zero-length buffer => EOS"

	.comm	_SVP_STOP_EOS,4,2               ## @SVP_STOP_EOS
L_.str.1:                               ## @.str.1
	.asciz	"%s: zero buffer handle"

	.comm	_SVP_WATCHDOG_TIMEOUT_MS,4,2    ## @SVP_WATCHDOG_TIMEOUT_MS
	.no_dead_strip	_svp_bh_output_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svp_bh_output_cb
_svp_bh_output_cb:                      ; @svp_bh_output_cb
	.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
	mov	x20, x1
	ldr	x19, [x0, #8]
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	add	x0, x19, #8
Lloh0:
	adrp	x8, _SVP_WATCHDOG_TIMEOUT_MS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVP_WATCHDOG_TIMEOUT_MS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_vcos_timer_set
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_mmal_queue_put
	b	LBB0_6
LBB0_3:
	ldr	w1, [x0]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_TRACE
Lloh5:
	adrp	x8, _SVP_STOP_EOS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVP_STOP_EOS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_svp_set_stop
	b	LBB0_5
LBB0_4:
	ldr	w1, [x0]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
LBB0_5:
	mov	x0, x20
	bl	_mmal_buffer_header_release
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vcos_semaphore_post
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: zero-length buffer => EOS"

	.comm	_SVP_STOP_EOS,4,2               ; @SVP_STOP_EOS
l_.str.1:                               ; @.str.1
	.asciz	"%s: zero buffer handle"

	.comm	_SVP_WATCHDOG_TIMEOUT_MS,4,2    ; @SVP_WATCHDOG_TIMEOUT_MS
	.no_dead_strip	_svp_bh_output_cb
.subsections_via_symbols
