	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_v4_available
_sctp_v4_available:                     ## @sctp_v4_available
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_inet_addr_type
	movl	%eax, %r15d
	movq	(%rbx), %rbx
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	cmpq	%rax, %rbx
	je	LBB0_3
## %bb.1:
	movq	_RTN_LOCAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_3
## %bb.2:
	movl	(%r14), %ecx
	movq	_sysctl_ip_nonlocal_bind@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	orl	(%rdx), %ecx
	je	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_sctp_opt2sk
	movl	%eax, %edi
	callq	_ipv6_only_sock
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.comm	_RTN_LOCAL,4,2                  ## @RTN_LOCAL
	.comm	_sysctl_ip_nonlocal_bind,4,2    ## @sysctl_ip_nonlocal_bind
	.no_dead_strip	_sctp_v4_available
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_v4_available
_sctp_v4_available:                     ; @sctp_v4_available
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x0, _init_net@GOTPAGE
Lloh1:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_inet_addr_type
	mov	x21, x0
	ldr	x20, [x20]
Lloh2:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htonl
Lloh5:
	adrp	x8, _RTN_LOCAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RTN_LOCAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	x20, x0
	ccmp	w21, w8, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _sysctl_ip_nonlocal_bind@GOTPAGE
Lloh9:
	ldr	x9, [x9, _sysctl_ip_nonlocal_bind@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	cbz	w8, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_sctp_opt2sk
	bl	_ipv6_only_sock
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.comm	_RTN_LOCAL,4,2                  ; @RTN_LOCAL
	.comm	_sysctl_ip_nonlocal_bind,4,2    ; @sysctl_ip_nonlocal_bind
	.no_dead_strip	_sctp_v4_available
.subsections_via_symbols
