	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_port_clock_parameter_set
_mmal_port_clock_parameter_set:         ## @mmal_port_clock_parameter_set
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_MMAL_CLOCK_EVENT_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	callq	_MMAL_CLOCK_EVENT_INIT
	movl	(%rbx), %esi
	leal	-128(%rsi), %eax
	cmpl	$7, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mmal_port_clock_update_threshold_set
	movq	%rax, %r15
	movq	_MMAL_CLOCK_EVENT_UPDATE_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LOG_ERROR
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_15
LBB0_5:
	movq	%r14, %rdi
	movl	$129, %esi
	callq	_mmal_port_clock_media_time_set
	movq	%rax, %r15
	movq	_MMAL_CLOCK_EVENT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	movl	$130, %esi
	callq	_mmal_port_clock_scale_set
	movq	%rax, %r15
	movq	_MMAL_CLOCK_EVENT_SCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -40(%rbp)
	jmp	LBB0_12
LBB0_8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mmal_port_clock_request_threshold_set
	movq	%rax, %r15
	movq	_MMAL_CLOCK_EVENT_REQUEST_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)
	jmp	LBB0_12
LBB0_2:
	movq	%r14, %rdi
	movl	$132, %esi
	callq	_mmal_port_clock_reference_set
	movq	%rax, %r15
	movq	_MMAL_CLOCK_EVENT_REFERENCE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	$133, 8(%rax)
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_15
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mmal_port_clock_discont_threshold_set
	movq	%rax, %r15
	movq	_MMAL_CLOCK_EVENT_DISCONT_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -52(%rbp)
	jmp	LBB0_12
LBB0_4:
	movq	%r14, %rdi
	movl	$135, %esi
	callq	_mmal_port_clock_active_set
	movq	%rax, %r15
	movq	_MMAL_CLOCK_EVENT_ACTIVE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
LBB0_12:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.13:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_15
## %bb.14:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	*%rcx
LBB0_15:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_MMAL_CLOCK_EVENT_INVALID,4,2   ## @MMAL_CLOCK_EVENT_INVALID
	.comm	_MMAL_CLOCK_EVENT_REFERENCE,4,2 ## @MMAL_CLOCK_EVENT_REFERENCE
	.comm	_MMAL_CLOCK_EVENT_ACTIVE,4,2    ## @MMAL_CLOCK_EVENT_ACTIVE
	.comm	_MMAL_CLOCK_EVENT_SCALE,4,2     ## @MMAL_CLOCK_EVENT_SCALE
	.comm	_MMAL_CLOCK_EVENT_TIME,4,2      ## @MMAL_CLOCK_EVENT_TIME
	.comm	_MMAL_CLOCK_EVENT_UPDATE_THRESHOLD,4,2 ## @MMAL_CLOCK_EVENT_UPDATE_THRESHOLD
	.comm	_MMAL_CLOCK_EVENT_DISCONT_THRESHOLD,4,2 ## @MMAL_CLOCK_EVENT_DISCONT_THRESHOLD
	.comm	_MMAL_CLOCK_EVENT_REQUEST_THRESHOLD,4,2 ## @MMAL_CLOCK_EVENT_REQUEST_THRESHOLD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported clock parameter 0x%x"

	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
	.no_dead_strip	_mmal_port_clock_parameter_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_port_clock_parameter_set
_mmal_port_clock_parameter_set:         ; @mmal_port_clock_parameter_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MMAL_CLOCK_EVENT_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x8, sp
	bl	_MMAL_CLOCK_EVENT_INIT
	ldr	w1, [x20]
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_mmal_port_clock_update_threshold_set
	mov	x21, x0
Lloh5:
	adrp	x8, _MMAL_CLOCK_EVENT_UPDATE_THRESHOLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_UPDATE_THRESHOLD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	str	w8, [sp, #24]
	str	w9, [sp, #8]
	b	LBB0_12
LBB0_3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_ERROR
Lloh10:
	adrp	x8, _MMAL_ENOSYS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MMAL_ENOSYS@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
	b	LBB0_14
LBB0_4:
	mov	x0, x19
	mov	w1, #129
	bl	_mmal_port_clock_media_time_set
	mov	x21, x0
Lloh13:
	adrp	x8, _MMAL_CLOCK_EVENT_TIME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_TIME@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x20]
	str	w8, [sp, #24]
	str	w9, [sp, #12]
	b	LBB0_12
LBB0_5:
	mov	x0, x19
	mov	w1, #130
	bl	_mmal_port_clock_scale_set
	mov	x21, x0
Lloh16:
	adrp	x8, _MMAL_CLOCK_EVENT_SCALE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_SCALE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x20]
	str	w8, [sp, #24]
	str	w9, [sp, #16]
	b	LBB0_12
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_mmal_port_clock_request_threshold_set
	mov	x21, x0
Lloh19:
	adrp	x8, _MMAL_CLOCK_EVENT_REQUEST_THRESHOLD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_REQUEST_THRESHOLD@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x20]
	str	w8, [sp, #24]
	str	w9, [sp]
	b	LBB0_12
LBB0_7:
	mov	x0, x19
	mov	w1, #132
	bl	_mmal_port_clock_reference_set
	mov	x21, x0
Lloh22:
	adrp	x8, _MMAL_CLOCK_EVENT_REFERENCE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_REFERENCE@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	w9, #133
	str	w9, [x8, #8]
Lloh24:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh26:
	ldr	x21, [x8]
	b	LBB0_14
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_mmal_port_clock_discont_threshold_set
	mov	x21, x0
Lloh27:
	adrp	x8, _MMAL_CLOCK_EVENT_DISCONT_THRESHOLD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_DISCONT_THRESHOLD@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x20]
	str	w8, [sp, #24]
	str	w9, [sp, #4]
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	mov	w1, #135
	bl	_mmal_port_clock_active_set
	mov	x21, x0
Lloh30:
	adrp	x8, _MMAL_CLOCK_EVENT_ACTIVE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MMAL_CLOCK_EVENT_ACTIVE@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	ldr	w9, [x20]
	stp	w9, w8, [sp, #20]
LBB0_12:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _MMAL_SUCCESS@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x21, x9, #0, ne
	b.ne	LBB0_14
; %bb.13:
	mov	x1, sp
	mov	x0, x19
	blr	x8
LBB0_14:
	mov	x0, 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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_MMAL_CLOCK_EVENT_INVALID,4,2   ; @MMAL_CLOCK_EVENT_INVALID
	.comm	_MMAL_CLOCK_EVENT_REFERENCE,4,2 ; @MMAL_CLOCK_EVENT_REFERENCE
	.comm	_MMAL_CLOCK_EVENT_ACTIVE,4,2    ; @MMAL_CLOCK_EVENT_ACTIVE
	.comm	_MMAL_CLOCK_EVENT_SCALE,4,2     ; @MMAL_CLOCK_EVENT_SCALE
	.comm	_MMAL_CLOCK_EVENT_TIME,4,2      ; @MMAL_CLOCK_EVENT_TIME
	.comm	_MMAL_CLOCK_EVENT_UPDATE_THRESHOLD,4,2 ; @MMAL_CLOCK_EVENT_UPDATE_THRESHOLD
	.comm	_MMAL_CLOCK_EVENT_DISCONT_THRESHOLD,4,2 ; @MMAL_CLOCK_EVENT_DISCONT_THRESHOLD
	.comm	_MMAL_CLOCK_EVENT_REQUEST_THRESHOLD,4,2 ; @MMAL_CLOCK_EVENT_REQUEST_THRESHOLD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported clock parameter 0x%x"

	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
	.no_dead_strip	_mmal_port_clock_parameter_set
.subsections_via_symbols
