	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_do_setsockopt_ipv6_mcast   ## -- Begin function php_do_setsockopt_ipv6_mcast
	.p2align	4, 0x90
_php_do_setsockopt_ipv6_mcast:          ## @php_do_setsockopt_ipv6_mcast
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r12d
	movl	$1, %eax
	leal	-130(%r12), %ecx
	cmpl	$6, %ecx
	ja	LBB0_15
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	callq	_php_do_mcast_opt
	movl	%eax, %ecx
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	je	LBB0_15
	jmp	LBB0_13
LBB0_3:
	movq	%rbx, %rdi
	callq	_convert_to_boolean_ex
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	movq	%rax, %rcx
	movq	_IS_TRUE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	%ecx, (%rdx)
	sete	%al
	jmp	LBB0_9
LBB0_4:
	leaq	-48(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_php_get_if_index_from_zval
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
	jmp	LBB0_15
LBB0_5:
	movq	%rbx, %rdi
	callq	_convert_to_long_ex
	movq	%rbx, %rdi
	callq	_Z_LVAL_P
	cmpq	$-1, %rax
	jl	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_Z_LVAL_P
	cmpq	$256, %rax                      ## imm = 0x100
	jl	LBB0_8
LBB0_7:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_12
LBB0_8:
	movq	%rbx, %rdi
	callq	_Z_LVAL_P
LBB0_9:
	leaq	-44(%rbp), %r13
	movl	%eax, -44(%rbp)
LBB0_10:
	movl	(%r14), %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movl	$4, %r8d
	callq	_setsockopt
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_PHP_SOCKET_ERROR
LBB0_12:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_IS_TRUE,4,2                    ## @IS_TRUE
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Expected a value between -1 and 255"

L_.str.1:                               ## @.str.1
	.asciz	"unable to set socket option"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_do_setsockopt_ipv6_mcast   ; -- Begin function php_do_setsockopt_ipv6_mcast
	.p2align	2
_php_do_setsockopt_ipv6_mcast:          ; @php_do_setsockopt_ipv6_mcast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	mov	w0, #1
	sub	w8, w2, #130
	cmp	w8, #6
	b.hi	LBB0_15
; %bb.1:
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	bl	_php_do_mcast_opt
Lloh2:
	adrp	x8, _FAILURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _SUCCESS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w0, w8, w9, eq
	b	LBB0_15
LBB0_3:
	mov	x0, x22
	bl	_convert_to_boolean_ex
	mov	x0, x22
	bl	_Z_TYPE_P
Lloh8:
	adrp	x8, _IS_TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IS_TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w0
	cset	w0, eq
	b	LBB0_9
LBB0_4:
	add	x23, sp, #12
	add	x1, sp, #12
	mov	x0, x22
	bl	_php_get_if_index_from_zval
Lloh11:
	adrp	x8, _FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
	b	LBB0_15
LBB0_5:
	mov	x0, x22
	bl	_convert_to_long_ex
	mov	x0, x22
	bl	_Z_LVAL_P
	cmn	x0, #1
	b.lt	LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_Z_LVAL_P
	cmp	x0, #256
	b.lt	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	b	LBB0_12
LBB0_8:
	mov	x0, x22
	bl	_Z_LVAL_P
LBB0_9:
	add	x23, sp, #8
	str	w0, [sp, #8]
LBB0_10:
	ldr	w0, [x19]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	mov	w4, #4
	bl	_setsockopt
	cbz	w0, LBB0_13
; %bb.11:
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_PHP_SOCKET_ERROR
LBB0_12:
Lloh24:
	adrp	x8, _FAILURE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh26:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_IS_TRUE,4,2                    ; @IS_TRUE
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Expected a value between -1 and 255"

l_.str.1:                               ; @.str.1
	.asciz	"unable to set socket option"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
