	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _php_mcast_source_op
__php_mcast_source_op:                  ## @_php_mcast_source_op
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	24(%rbp), %r14d
	movq	(%rdi), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_6
## %bb.1:
	movl	%r9d, %r13d
	movq	%rdi, %rbx
	movl	16(%rbp), %r12d
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	(%rdx), %eax
	movl	%eax, -56(%rbp)
	movl	(%r8), %eax
	movl	%eax, -60(%rbp)
	xorl	%edi, %edi
	cmpl	$4, %ecx
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$4, %r13d
	sete	%dil
	callq	_assert
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.2:
	leaq	-48(%rbp), %rdx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_php_if_index_to_addr4
	movq	%rax, %rcx
	movq	_FAILURE@GOTPCREL(%rip), %rdx
	movl	$-2, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.3:
	movl	-48(%rbp), %eax
	jmp	LBB0_5
LBB0_6:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	__php_source_op_to_string
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_php_error_docref
	movl	$-2, %eax
	jmp	LBB0_7
LBB0_4:
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
LBB0_5:
	movl	%eax, -64(%rbp)
	movl	8(%rbx), %ebx
	movl	%r14d, %edi
	callq	__php_source_op_to_ipv4_op
	leaq	-64(%rbp), %rcx
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	$16, %r8d
	callq	_setsockopt
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Option %s is inapplicable to this socket type"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _php_mcast_source_op
__php_mcast_source_op:                  ; @_php_mcast_source_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x7
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x22, x6
	mov	x23, x5
	mov	x19, x1
	mov	x21, x0
	stp	xzr, xzr, [sp, #16]
	ldr	w8, [x2]
	ldr	w9, [x4]
	stp	w9, w8, [sp, #20]
	cmp	w3, #4
	cset	w0, eq
	bl	_assert
	cmp	w23, #4
	cset	w0, eq
	bl	_assert
	cbz	w22, LBB0_6
; %bb.2:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_php_if_index_to_addr4
Lloh3:
	adrp	x8, _FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [sp, #16]
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	mov	x0, x20
	bl	__php_source_op_to_string
	mov	x3, x0
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	bl	_php_error_docref
LBB0_5:
	mov	w0, #-2
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_htonl
	str	w0, [sp, #16]
LBB0_7:
	ldr	w21, [x21, #8]
	mov	x0, x20
	bl	__php_source_op_to_ipv4_op
	mov	x2, x0
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	w4, #16
	bl	_setsockopt
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Option %s is inapplicable to this socket type"

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