	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_ffi_pass_var_arg
_zend_ffi_pass_var_arg:                 ## @zend_ffi_pass_var_arg
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_ZVAL_DEREF
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_ffi_type_uint8@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	(%r15,%r14,8), %rax
	movl	$1, (%rax)
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_Z_OBJCE_P
	movq	_zend_ffi_cdata_ce@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.13:
	movq	%rbx, %rdi
	callq	_Z_OBJ_P
	movl	(%rax), %edi
	callq	_ZEND_FFI_TYPE
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	movq	%r13, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zend_ffi_pass_arg              ## TAILCALL
LBB0_9:
	movq	_zend_ffi_exception_ce@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_zend_throw_error
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_4:
	movq	_ffi_type_sint32@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	callq	_Z_LVAL_P
	jmp	LBB0_5
LBB0_7:
	movq	_ffi_type_pointer@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
LBB0_5:
	movq	(%r15,%r14,8), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_10:
	movq	_ffi_type_pointer@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	(%r15,%r14,8), %rax
	movq	$0, (%rax)
	jmp	LBB0_11
LBB0_2:
	movq	_ffi_type_uint8@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	(%r15,%r14,8), %rax
	movl	$0, (%rax)
	jmp	LBB0_11
LBB0_6:
	movq	_ffi_type_double@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	callq	_Z_DVAL_P
	movq	(%r15,%r14,8), %rax
	movsd	%xmm0, (%rax)
LBB0_11:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_ffi_type_pointer,4,2           ## @ffi_type_pointer
	.comm	_ffi_type_uint8,4,2             ## @ffi_type_uint8
	.comm	_ffi_type_sint32,4,2            ## @ffi_type_sint32
	.comm	_ffi_type_double,4,2            ## @ffi_type_double
	.comm	_zend_ffi_cdata_ce,4,2          ## @zend_ffi_cdata_ce
	.comm	_zend_ffi_exception_ce,4,2      ## @zend_ffi_exception_ce
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported argument type"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_ffi_type_sint64,4,2            ## @ffi_type_sint64
	.no_dead_strip	_zend_ffi_pass_var_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_ffi_pass_var_arg
_zend_ffi_pass_var_arg:                 ; @zend_ffi_pass_var_arg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_ZVAL_DEREF
	mov	x0, x22
	bl	_Z_TYPE_P
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _ffi_type_uint8@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ffi_type_uint8@GOTPAGEOFF]
	str	x8, [x21]
	ldr	x8, [x20, x19, lsl #3]
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_12
LBB0_3:
	mov	x0, x22
	bl	_Z_OBJCE_P
Lloh4:
	adrp	x8, _zend_ffi_cdata_ce@GOTPAGE
Lloh5:
	ldr	x8, [x8, _zend_ffi_cdata_ce@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_Z_OBJ_P
	ldr	w0, [x0]
	bl	_ZEND_FFI_TYPE
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_zend_ffi_pass_arg
LBB0_5:
Lloh7:
	adrp	x8, _zend_ffi_exception_ce@GOTPAGE
Lloh8:
	ldr	x8, [x8, _zend_ffi_exception_ce@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_zend_throw_error
Lloh12:
	adrp	x8, _FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
Lloh14:
	adrp	x8, _ffi_type_sint32@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ffi_type_sint32@GOTPAGEOFF]
	str	x8, [x21]
	mov	x0, x22
	bl	_Z_LVAL_P
	b	LBB0_8
LBB0_7:
Lloh16:
	adrp	x8, _ffi_type_pointer@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ffi_type_pointer@GOTPAGEOFF]
	str	x8, [x21]
	mov	x0, x22
	bl	_Z_STRVAL_P
LBB0_8:
	ldr	x8, [x20, x19, lsl #3]
	str	x0, [x8]
	b	LBB0_12
LBB0_9:
Lloh18:
	adrp	x8, _ffi_type_pointer@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ffi_type_pointer@GOTPAGEOFF]
	str	x8, [x21]
	ldr	x8, [x20, x19, lsl #3]
	str	xzr, [x8]
	b	LBB0_12
LBB0_10:
Lloh20:
	adrp	x8, _ffi_type_uint8@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ffi_type_uint8@GOTPAGEOFF]
	str	x8, [x21]
	ldr	x8, [x20, x19, lsl #3]
	str	wzr, [x8]
	b	LBB0_12
LBB0_11:
Lloh22:
	adrp	x8, _ffi_type_double@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ffi_type_double@GOTPAGEOFF]
	str	x8, [x21]
	mov	x0, x22
	bl	_Z_DVAL_P
	ldr	x8, [x20, x19, lsl #3]
	str	d0, [x8]
LBB0_12:
Lloh24:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_ffi_type_pointer,4,2           ; @ffi_type_pointer
	.comm	_ffi_type_uint8,4,2             ; @ffi_type_uint8
	.comm	_ffi_type_sint32,4,2            ; @ffi_type_sint32
	.comm	_ffi_type_double,4,2            ; @ffi_type_double
	.comm	_zend_ffi_cdata_ce,4,2          ; @zend_ffi_cdata_ce
	.comm	_zend_ffi_exception_ce,4,2      ; @zend_ffi_exception_ce
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported argument type"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_ffi_type_sint64,4,2            ; @ffi_type_sint64
	.no_dead_strip	_zend_ffi_pass_var_arg
.subsections_via_symbols
