	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_gethostbyaddr
_php_gethostbyaddr:                     ## @php_gethostbyaddr
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_inet_addr
	movl	%eax, -24(%rbp)
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	movl	$4, %esi
	callq	_gethostbyaddr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	cmpb	$0, (%r14)
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	_strlen
	movq	%r14, %rdi
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
LBB0_7:
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_zend_string_init
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_php_gethostbyaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_gethostbyaddr
_php_gethostbyaddr:                     ; @php_gethostbyaddr
	.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	_inet_addr
	str	w0, [sp, #8]
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #4
	bl	_gethostbyaddr
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x20, [x0]
	cbz	x20, LBB0_5
; %bb.3:
	ldrb	w8, [x20]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
LBB0_6:
	mov	w2, #0
	bl	_zend_string_init
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_php_gethostbyaddr
.subsections_via_symbols
