	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zend_ffi_adjust_struct_size    ## -- Begin function zend_ffi_adjust_struct_size
	.p2align	4, 0x90
_zend_ffi_adjust_struct_size:           ## @zend_ffi_adjust_struct_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_ZEND_FFI_TYPE
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_ZEND_FFI_TYPE_STRUCT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ZEND_ASSERT
	movl	(%r14), %eax
	movl	8(%rbx), %esi
	cmpl	%esi, %eax
	jle	LBB0_2
## %bb.1:
	movl	%eax, 8(%rbx)
	movl	%eax, %esi
LBB0_2:
	movq	_ZEND_FFI_ATTR_PACKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%rbx)
	jne	LBB0_4
## %bb.3:
	movl	16(%rbx), %eax
	leal	(%rax,%rsi), %ecx
	decl	%ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	subl	%edx, %ecx
	movl	%ecx, 16(%rbx)
LBB0_4:
	movl	$0, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZEND_FFI_TYPE_STRUCT,8,3       ## @ZEND_FFI_TYPE_STRUCT
	.comm	_ZEND_FFI_ATTR_PACKED,4,2       ## @ZEND_FFI_ATTR_PACKED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zend_ffi_adjust_struct_size    ; -- Begin function zend_ffi_adjust_struct_size
	.p2align	2
_zend_ffi_adjust_struct_size:           ; @zend_ffi_adjust_struct_size
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_ZEND_FFI_TYPE
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ZEND_FFI_TYPE_STRUCT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZEND_FFI_TYPE_STRUCT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_ZEND_ASSERT
	ldr	w9, [x19]
	ldr	w8, [x20, #8]
	cmp	w9, w8
	b.le	LBB0_2
; %bb.1:
	str	w9, [x20, #8]
	mov	x8, x9
LBB0_2:
	ldr	w9, [x20, #12]
Lloh3:
	adrp	x10, _ZEND_FFI_ATTR_PACKED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ZEND_FFI_ATTR_PACKED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x20, #16]
	add	w9, w9, w8
	sub	w9, w9, #1
	sdiv	w9, w9, w8
	mul	w8, w9, w8
	str	w8, [x20, #16]
LBB0_4:
	str	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ZEND_FFI_TYPE_STRUCT,8,3       ; @ZEND_FFI_TYPE_STRUCT
	.comm	_ZEND_FFI_ATTR_PACKED,4,2       ; @ZEND_FFI_ATTR_PACKED
.subsections_via_symbols
