	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_error
_sctp_error:                            ## @sctp_error
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	_EPIPE@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	subl	(%r12), %eax
	cmpl	%edx, %eax
	jne	LBB0_2
## %bb.1:
	callq	_sock_error
	subl	(%r12), %r15d
	movq	%rax, %rbx
	testq	%rax, %rax
	cmovel	%r15d, %ebx
	movl	%r15d, %eax
LBB0_2:
	cmpl	%eax, %ebx
	jne	LBB0_5
## %bb.3:
	movq	_MSG_NOSIGNAL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_send_sig
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_MSG_NOSIGNAL,4,2               ## @MSG_NOSIGNAL
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_current,4,2                    ## @current
	.no_dead_strip	_sctp_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_error
_sctp_error:                            ; @sctp_error
	.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	x20, x1
Lloh0:
	adrp	x21, _EPIPE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EPIPE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmn	w8, w2
	b.ne	LBB0_2
; %bb.1:
	bl	_sock_error
	ldr	w9, [x21]
	neg	w8, w9
	cmp	x0, #0
	csneg	w19, w0, w9, ne
	cmp	w19, w8
	b.eq	LBB0_3
	b	LBB0_5
LBB0_2:
	mov	x19, x2
	neg	w8, w8
	cmp	w19, w8
	b.ne	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _MSG_NOSIGNAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_NOSIGNAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _current@GOTPAGE
Lloh9:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_send_sig
LBB0_5:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_MSG_NOSIGNAL,4,2               ; @MSG_NOSIGNAL
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_current,4,2                    ; @current
	.no_dead_strip	_sctp_error
.subsections_via_symbols
