	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_port_parameter_get        ## -- Begin function mmal_port_parameter_get
	.p2align	4, 0x90
_mmal_port_parameter_get:               ## @mmal_port_parameter_get
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	movq	%rsi, %r14
	movq	24(%rbx), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %ecx
	movl	16(%rbx), %edx
	testq	%r14, %r14
	je	LBB0_10
## %bb.4:
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movl	(%r14), %eax
	movl	8(%r14), %r10d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %r8
	movq	%r14, %r9
	pushq	%rax
	pushq	%r10
	callq	_LOG_TRACE
	addq	$16, %rsp
	movq	%rbx, %rdi
	callq	_LOCK_PORT
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
	movq	%rax, %r15
LBB0_6:
	cmpq	(%r12), %r15
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmal_port_private_parameter_get
	movq	%rax, %r15
LBB0_8:
	movq	%rbx, %rdi
	callq	_UNLOCK_PORT
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_LOG_TRACE
	addq	$16, %rsp
LBB0_2:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_9:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
	.comm	_MMAL_EINVAL,8,3                ## @MMAL_EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(%i:%i) port %p, param %p (%x,%i)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_port_parameter_get        ; -- Begin function mmal_port_parameter_get
	.p2align	2
_mmal_port_parameter_get:               ; @mmal_port_parameter_get
	.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_9
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x20, x1
	ldr	x8, [x19, #24]
	ldr	w1, [x8]
	ldr	w2, [x19, #16]
	ldr	w3, [x19, #8]
	cbz	x20, LBB0_8
; %bb.3:
Lloh0:
	adrp	x22, _MMAL_ENOSYS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MMAL_ENOSYS@GOTPAGEOFF]
	ldr	x21, [x22]
	ldr	w6, [x20, #8]
	ldr	w7, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x19
	mov	x5, x20
	bl	_LOG_TRACE
	mov	x0, x19
	bl	_LOCK_PORT
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x21, x0
LBB0_5:
	ldr	x8, [x22]
	cmp	x21, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_mmal_port_private_parameter_get
	mov	x21, x0
LBB0_7:
	mov	x0, x19
	bl	_UNLOCK_PORT
	b	LBB0_10
LBB0_8:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x19
	mov	x5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_LOG_TRACE
LBB0_9:
Lloh6:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
LBB0_10:
	mov	x0, x21
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
	.comm	_MMAL_EINVAL,8,3                ; @MMAL_EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%i:%i) port %p, param %p (%x,%i)"

.subsections_via_symbols
