	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function graph_process_buffer
_graph_process_buffer:                  ## @graph_process_buffer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	*%rax
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.5:
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_graph_port_event_handler       ## TAILCALL
LBB0_3:
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_mmal_port_send_buffer
	movq	%rax, %r15
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_6
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%rbx), %r12
	movq	8(%rbx), %r13
	movl	4(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_mmal_status_to_string
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	movl	%eax, %r9d
	callq	_LOG_ERROR
	movq	%r14, %rdi
	callq	_mmal_buffer_header_release
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmal_event_error_send          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(%p) could not send buffer to %s(%p) (%s)"

	.no_dead_strip	_graph_process_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function graph_process_buffer
_graph_process_buffer:                  ; @graph_process_buffer
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, x19
	mov	x2, x20
	blr	x8
Lloh0:
	adrp	x8, _MMAL_ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x1, [x19]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_graph_port_event_handler
LBB0_4:
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_mmal_port_send_buffer
Lloh3:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x21, x0
	ldp	x22, x23, [x19]
	ldr	w24, [x22, #4]
	ldr	w25, [x23]
	bl	_mmal_status_to_string
	mov	x5, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x22
	mov	x3, x25
	mov	x4, x23
	bl	_LOG_ERROR
	mov	x0, x20
	bl	_mmal_buffer_header_release
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mmal_event_error_send
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%p) could not send buffer to %s(%p) (%s)"

	.no_dead_strip	_graph_process_buffer
.subsections_via_symbols
