	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_mjpeg_ipc_open
_delta_mjpeg_ipc_open:                  ## @delta_mjpeg_ipc_open
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	callq	_to_ctx
	movq	%rax, %r15
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	movq	%rax, -48(%rbp)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movl	(%r14), %r13d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %esi
	leaq	-48(%rbp), %rdi
	movl	$4, %edx
	callq	_ipc_open_param_str
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_dev_vdbg
	movl	$8, -96(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -88(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-80(%rbp), %r8
	leaq	-72(%rbp), %r9
	movq	%r14, %rdi
	movl	$8, %ecx
	callq	_delta_ipc_open
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	movl	(%r14), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %esi
	leaq	-48(%rbp), %rdi
	movl	$4, %edx
	callq	_ipc_open_param_str
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	movq	-80(%rbp), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	-72(%rbp), %rax
	movq	%rax, (%rcx)
LBB0_3:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s  %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"JPEG_DECODER_HW0"

L_.str.2:                               ## @.str.2
	.asciz	"%s  dumping command %s\n"

	.no_dead_strip	_delta_mjpeg_ipc_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_mjpeg_ipc_open
_delta_mjpeg_ipc_open:                  ; @delta_mjpeg_ipc_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	ldr	x23, [x0, #8]
	bl	_to_ctx
	mov	x20, x0
	add	x24, sp, #40
	mov	w25, #8
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	movi	d0, #0xffffffff00000000
	str	d0, [sp, #40]
	ldr	w21, [x23]
	ldr	w22, [x19]
	ldr	w1, [x20, #16]
	add	x0, sp, #40
	mov	w2, #4
	bl	_ipc_open_param_str
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_vdbg
	str	w25, [sp, #16]
	str	x24, [sp, #24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #16
	add	x4, sp, #32
	add	x5, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_delta_ipc_open
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w22, [x23]
	ldr	w19, [x19]
	ldr	w1, [x20, #16]
	add	x0, sp, #40
	mov	w2, #4
	bl	_ipc_open_param_str
	mov	x3, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_dev_err
	b	LBB0_3
LBB0_2:
	ldr	x8, [sp, #32]
	ldr	x9, [sp, #8]
	stp	x9, x8, [x20]
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s  %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"JPEG_DECODER_HW0"

l_.str.2:                               ; @.str.2
	.asciz	"%s  dumping command %s\n"

	.no_dead_strip	_delta_mjpeg_ipc_open
.subsections_via_symbols
