	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_set_inet46_addr            ## -- Begin function php_set_inet46_addr
	.p2align	4, 0x90
_php_set_inet46_addr:                   ## @php_set_inet46_addr
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rcx), %rax
	movq	_AF_INET@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -32(%rbp)
	leaq	-32(%rbp), %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_php_set_inet_addr
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movl	$4, (%r14)
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IP address used in the context of an unexpected type of socket"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_set_inet46_addr            ; -- Begin function php_set_inet46_addr
	.p2align	2
_php_set_inet46_addr:                   ; @php_set_inet46_addr
	.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
	ldr	x8, [x3]
Lloh0:
	adrp	x21, _AF_INET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AF_INET@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #8]
	add	x0, sp, #8
	mov	x1, x2
	mov	x2, x3
	bl	_php_set_inet_addr
	cbz	x0, LBB0_4
; %bb.2:
	mov	w22, #4
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	str	x8, [x20]
	str	w22, [x19]
	mov	w0, #1
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	mov	w0, #0
LBB0_4:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IP address used in the context of an unexpected type of socket"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
.subsections_via_symbols
