	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_port_pool_create          ## -- Begin function mmal_port_pool_create
	.p2align	4, 0x90
_mmal_port_pool_create:                 ## @mmal_port_pool_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 24(%rdi)
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movl	8(%rbx), %edx
	movl	%r14d, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %r8
	movl	%r15d, %r9d
	callq	_LOG_TRACE
	movq	_mmal_port_payload_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_mmal_port_payload_free@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmal_pool_create_with_allocator ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(%i:%i) port %p, headers %u, size %i"

	.comm	_mmal_port_payload_alloc,8,3    ## @mmal_port_payload_alloc
	.comm	_mmal_port_payload_free,8,3     ## @mmal_port_payload_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_port_pool_create          ; -- Begin function mmal_port_pool_create
	.p2align	2
_mmal_port_pool_create:                 ; @mmal_port_pool_create
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x19, x2
	mov	x21, x1
	ldr	x8, [x20, #16]
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	ldr	w3, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x20
	mov	x5, x21
	mov	x6, x19
	bl	_LOG_TRACE
Lloh2:
	adrp	x8, _mmal_port_payload_alloc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mmal_port_payload_alloc@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _mmal_port_payload_free@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mmal_port_payload_free@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	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
	b	_mmal_pool_create_with_allocator
LBB0_3:
	mov	x0, #0
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%i:%i) port %p, headers %u, size %i"

	.comm	_mmal_port_payload_alloc,8,3    ; @mmal_port_payload_alloc
	.comm	_mmal_port_payload_free,8,3     ; @mmal_port_payload_free
.subsections_via_symbols
