	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vchiq_get_config               ## -- Begin function vchiq_get_config
	.p2align	4, 0x90
_vchiq_get_config:                      ## @vchiq_get_config
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_is_valid_instance
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%r15d, -40(%rbp)
	movq	%r14, -32(%rbp)
	movl	(%rbx), %edi
	movq	_VCHIQ_IOC_GET_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_ioctl
	movl	%eax, %esi
	callq	_RETRY
	movq	_VCHIQ_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_VCHIQ_ERROR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCHIQ_ERROR,4,2                ## @VCHIQ_ERROR
	.comm	_VCHIQ_IOC_GET_CONFIG,4,2       ## @VCHIQ_IOC_GET_CONFIG
	.comm	_VCHIQ_SUCCESS,4,2              ## @VCHIQ_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vchiq_get_config               ; -- Begin function vchiq_get_config
	.p2align	2
_vchiq_get_config:                      ; @vchiq_get_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_is_valid_instance
	cbz	w0, LBB0_2
; %bb.1:
	str	w21, [sp]
	str	x19, [sp, #8]
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _VCHIQ_IOC_GET_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCHIQ_IOC_GET_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	mov	x1, x0
	bl	_RETRY
Lloh3:
	adrp	x8, _VCHIQ_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VCHIQ_SUCCESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _VCHIQ_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VCHIQ_ERROR@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VCHIQ_ERROR,4,2                ; @VCHIQ_ERROR
	.comm	_VCHIQ_IOC_GET_CONFIG,4,2       ; @VCHIQ_IOC_GET_CONFIG
	.comm	_VCHIQ_SUCCESS,4,2              ; @VCHIQ_SUCCESS
.subsections_via_symbols
