	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_connection_reconfigure
_mmal_connection_reconfigure:           ## @mmal_connection_reconfigure
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	16(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_LOG_TRACE
	movq	%rbx, %rdi
	callq	_mmal_connection_disable
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.3:
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	movq	%r15, %rsi
	callq	_mmal_format_full_copy
	movq	%rax, %r14
	movq	(%r12), %rax
	cmpq	%rax, %r14
	jne	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	callq	_mmal_port_format_commit
	movq	%rax, %r14
	movq	(%r12), %rax
LBB0_5:
	cmpq	%rax, %r14
	jne	LBB0_6
## %bb.8:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	8(%rax), %rdi
	movq	8(%rcx), %rsi
	callq	_mmal_format_full_copy
	movq	%rax, %r14
	movq	(%r12), %rax
	cmpq	%rax, %r14
	jne	LBB0_10
## %bb.9:
	movq	(%rbx), %rdi
	callq	_mmal_port_format_commit
	movq	%rax, %r14
	movq	(%r12), %rax
LBB0_10:
	cmpq	%rax, %r14
	jne	LBB0_11
## %bb.12:
	movq	%rbx, %rdi
	callq	_mmal_connection_enable
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_15
LBB0_6:
	movq	8(%rbx), %rdx
	jmp	LBB0_7
LBB0_11:
	movq	(%rbx), %rdx
LBB0_7:
	movl	(%rdx), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_15:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	(%r12), %r14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p, %s"

	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"connection couldn't be disabled"

L_.str.2:                               ## @.str.2
	.asciz	"commit failed on port %s(%p) (%i)"

L_.str.3:                               ## @.str.3
	.asciz	"connection couldn't be enabled"

	.no_dead_strip	_mmal_connection_reconfigure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_connection_reconfigure
_mmal_connection_reconfigure:           ; @mmal_connection_reconfigure
	.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	x21, x1
	mov	x20, x0
	ldr	w2, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_LOG_TRACE
	mov	x0, x20
	bl	_mmal_connection_disable
Lloh2:
	adrp	x22, _MMAL_SUCCESS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, #8]
	mov	x1, x21
	bl	_mmal_format_full_copy
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [x20, #8]
	bl	_mmal_port_format_commit
	mov	x19, x0
	ldr	x8, [x22]
	cmp	x19, x8
	b.eq	LBB0_6
LBB0_3:
	ldr	x8, [x20, #8]
	b	LBB0_9
LBB0_4:
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_5:
	mov	x19, x0
	cmp	x19, x8
	b.ne	LBB0_3
LBB0_6:
	ldp	x8, x9, [x20]
	ldr	x0, [x8, #8]
	ldr	x1, [x9, #8]
	bl	_mmal_format_full_copy
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.7:
	ldr	x0, [x20]
	bl	_mmal_port_format_commit
	mov	x19, x0
	ldr	x8, [x22]
	cmp	x19, x8
	b.eq	LBB0_13
LBB0_8:
	ldr	x8, [x20]
LBB0_9:
	ldr	w9, [x8]
	stp	x8, x19, [sp, #8]
	str	x9, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	bl	_LOG_ERROR
LBB0_11:
	mov	x0, x19
	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
LBB0_12:
	mov	x19, x0
	cmp	x19, x8
	b.ne	LBB0_8
LBB0_13:
	mov	x0, x20
	bl	_mmal_connection_enable
	cbz	x0, LBB0_15
; %bb.14:
	mov	x19, x0
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_15:
	ldr	x19, [x22]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p, %s"

	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"connection couldn't be disabled"

l_.str.2:                               ; @.str.2
	.asciz	"commit failed on port %s(%p) (%i)"

l_.str.3:                               ; @.str.3
	.asciz	"connection couldn't be enabled"

	.no_dead_strip	_mmal_connection_reconfigure
.subsections_via_symbols
