	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_gethostbyname
_php_gethostbyname:                     ## @php_gethostbyname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_php_network_gethostbyname
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%rax), %rsi
	leaq	-24(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	-24(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	leaq	-16(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	-16(%rbp), %rdi
	callq	_inet_ntoa
	movq	%rax, %rbx
	movq	%rax, %rdi
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_zend_string_init               ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
LBB0_4:
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_zend_string_init
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_php_gethostbyname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_gethostbyname
_php_gethostbyname:                     ; @php_gethostbyname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_php_network_gethostbyname
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x1, [x0]
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_4
; %bb.2:
	mov	x0, sp
	mov	w2, #8
	bl	_memcpy
	ldr	x0, [sp]
	bl	_inet_ntoa
	mov	x19, x0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_zend_string_init
LBB0_4:
	mov	x0, x19
LBB0_5:
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_zend_string_init
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_php_gethostbyname
.subsections_via_symbols
