	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generic_output_port_cb
_generic_output_port_cb:                ## @generic_output_port_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	(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_LOG_INFO
	movq	%rbx, %rdi
	callq	_mmal_buffer_header_release
	jmp	LBB0_3
LBB0_2:
	movq	8(%rdi), %r14
	movl	(%rdi), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG_DEBUG
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mmal_queue_put
LBB0_3:
	movq	_MMAL_CAM_BUFFER_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VCOS_OR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_events@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vcos_event_flags_set           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s callback: event %u not supported"

L_.str.1:                               ## @.str.1
	.asciz	"%s callback"

	.comm	_events,4,2                     ## @events
	.comm	_MMAL_CAM_BUFFER_READY,4,2      ## @MMAL_CAM_BUFFER_READY
	.comm	_VCOS_OR,4,2                    ## @VCOS_OR
	.no_dead_strip	_generic_output_port_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generic_output_port_cb
_generic_output_port_cb:                ; @generic_output_port_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	x19, x1
	ldr	x2, [x1]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_INFO
	mov	x0, x19
	bl	_mmal_buffer_header_release
	b	LBB0_3
LBB0_2:
	ldr	x20, [x0, #8]
	ldr	w1, [x0]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_DEBUG
	mov	x0, x20
	mov	x1, x19
	bl	_mmal_queue_put
LBB0_3:
Lloh4:
	adrp	x8, _MMAL_CAM_BUFFER_READY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMAL_CAM_BUFFER_READY@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _VCOS_OR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VCOS_OR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x0, _events@GOTPAGE
Lloh11:
	ldr	x0, [x0, _events@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vcos_event_flags_set
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s callback: event %u not supported"

l_.str.1:                               ; @.str.1
	.asciz	"%s callback"

	.comm	_events,4,2                     ; @events
	.comm	_MMAL_CAM_BUFFER_READY,4,2      ; @MMAL_CAM_BUFFER_READY
	.comm	_VCOS_OR,4,2                    ; @VCOS_OR
	.no_dead_strip	_generic_output_port_cb
.subsections_via_symbols
